parent
9ebccf0f45
commit
3a24f39649
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue