提交 3a24f396 编写于 作者: H haoxr

fix: eslint检测问题修复

Former-commit-id: 99d59634
上级 9ebccf0f
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册