fix: eslint检测问题修复

Former-commit-id: 99d59634e8
This commit is contained in:
haoxr 2023-01-14 18:38:32 +08:00
parent 9ebccf0f45
commit 3a24f39649
4 changed files with 3 additions and 7 deletions

View File

@ -16,6 +16,8 @@ module.exports = {
watch: "readonly",
ref:"readonly",
toRef:"readonly",
reactive:"readonly",
toRefs:"readonly",
onMounted:"readonly",
onBeforeUnmount:"readonly",
getCurrentInstance:"readonly",

View File

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

View File

@ -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');

View File

@ -42,8 +42,6 @@ import {
Plus,
Refresh,
Delete,
Download,
Top,
UploadFilled
} from '@element-plus/icons-vue';
import {