✨(component): 清理 slider 组件 console.log 调试代码
This commit is contained in:
parent
45a8d62ffb
commit
48f057e174
@ -44,19 +44,20 @@ import {
|
|||||||
useResizeObserver,
|
useResizeObserver,
|
||||||
useThrottleFn,
|
useThrottleFn,
|
||||||
} from "@vueuse/core";
|
} from "@vueuse/core";
|
||||||
import { PopperTrigger } from "../tooltip/index.vue";
|
|
||||||
|
export type PopperTrigger = "click" | "hover" | "focus" | "contextMenu";
|
||||||
|
|
||||||
export interface PopperProps {
|
export interface PopperProps {
|
||||||
el: HTMLElement;
|
el: HTMLElement;
|
||||||
content?: string | Number;
|
|
||||||
position?: string;
|
position?: string;
|
||||||
trigger?: PopperTrigger | PopperTrigger[];
|
|
||||||
enterable?: boolean;
|
enterable?: boolean;
|
||||||
isDark?: boolean;
|
isDark?: boolean;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
isCanHide?: boolean;
|
isCanHide?: boolean;
|
||||||
isAutoShow?: boolean;
|
isAutoShow?: boolean;
|
||||||
visible?: boolean;
|
visible?: boolean;
|
||||||
|
content?: string | Number;
|
||||||
|
trigger?: PopperTrigger | PopperTrigger[];
|
||||||
popperClass?: string | Array<string | object> | object;
|
popperClass?: string | Array<string | object> | object;
|
||||||
popperStyle?: StyleValue;
|
popperStyle?: StyleValue;
|
||||||
}
|
}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
export type PopperTrigger = "click" | "hover" | "focus" | "contextMenu";
|
|
@ -95,10 +95,6 @@ const dots = makeDots(props);
|
|||||||
const focusDot = (val: number) => {
|
const focusDot = (val: number) => {
|
||||||
emit("link-val-hook", val);
|
emit("link-val-hook", val);
|
||||||
};
|
};
|
||||||
// const focusClick = (e: MouseEvent)=>{
|
|
||||||
// console.log(e);
|
|
||||||
// standardMove(e)
|
|
||||||
// }
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -133,7 +133,6 @@ function cross(val: any) {
|
|||||||
}
|
}
|
||||||
// 断点
|
// 断点
|
||||||
const dots = makeDots(props);
|
const dots = makeDots(props);
|
||||||
console.log(dots);
|
|
||||||
|
|
||||||
const focusDot = (item: number) => {
|
const focusDot = (item: number) => {
|
||||||
let currbtn = moveNeighbors(item, rv);
|
let currbtn = moveNeighbors(item, rv);
|
||||||
|
@ -132,7 +132,6 @@ function cross(val: any) {
|
|||||||
}
|
}
|
||||||
// 断点
|
// 断点
|
||||||
const dots = makeDots(props);
|
const dots = makeDots(props);
|
||||||
console.log(dots);
|
|
||||||
|
|
||||||
const focusDot = (item: number) => {
|
const focusDot = (item: number) => {
|
||||||
let currbtn = moveNeighbors(item, rv);
|
let currbtn = moveNeighbors(item, rv);
|
||||||
|
Loading…
Reference in New Issue
Block a user