(component): 清理 slider 组件 console.log 调试代码

This commit is contained in:
就眠儀式 2022-10-18 09:31:43 +08:00
parent 45a8d62ffb
commit 48f057e174
5 changed files with 4 additions and 10 deletions

View File

@ -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;
}

View File

@ -1 +0,0 @@
export type PopperTrigger = "click" | "hover" | "focus" | "contextMenu";

View File

@ -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>

View File

@ -133,7 +133,6 @@ function cross(val: any) {
}
//
const dots = makeDots(props);
console.log(dots);
const focusDot = (item: number) => {
let currbtn = moveNeighbors(item, rv);

View File

@ -132,7 +132,6 @@ function cross(val: any) {
}
//
const dots = makeDots(props);
console.log(dots);
const focusDot = (item: number) => {
let currbtn = moveNeighbors(item, rv);