fix: eslint检测问题修复
Former-commit-id: 99d59634e81f4917717a908ded6d1cd331592347
This commit is contained in:
@@ -16,6 +16,8 @@ module.exports = {
|
||||
watch: "readonly",
|
||||
ref:"readonly",
|
||||
toRef:"readonly",
|
||||
reactive:"readonly",
|
||||
toRefs:"readonly",
|
||||
onMounted:"readonly",
|
||||
onBeforeUnmount:"readonly",
|
||||
getCurrentInstance:"readonly",
|
||||
|
||||
@@ -3,14 +3,10 @@ import { onBeforeUnmount, onMounted, ref, watch } from 'vue';
|
||||
|
||||
import { addClass, removeClass } from '@/utils/index';
|
||||
|
||||
import { useSettingsStore } from '@/store/modules/settings';
|
||||
|
||||
// 图标依赖
|
||||
import { Close, Setting } from '@element-plus/icons-vue';
|
||||
import { ElColorPicker } from 'element-plus';
|
||||
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
const show = ref(false);
|
||||
|
||||
defineProps({
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Directive } from 'vue';
|
||||
*/
|
||||
export const deBounce: Directive = {
|
||||
mounted(el: HTMLElement) {
|
||||
el.addEventListener('click', e => {
|
||||
el.addEventListener('click', () => {
|
||||
el.classList.add('is-disabled');
|
||||
setTimeout(() => {
|
||||
el.classList.remove('is-disabled');
|
||||
|
||||
@@ -42,8 +42,6 @@ import {
|
||||
Plus,
|
||||
Refresh,
|
||||
Delete,
|
||||
Download,
|
||||
Top,
|
||||
UploadFilled
|
||||
} from '@element-plus/icons-vue';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user