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