diff --git a/src/components/XButton/src/ButtonBase.vue b/src/components/XButton/src/ButtonBase.vue index e9486efe3..5741536c4 100644 --- a/src/components/XButton/src/ButtonBase.vue +++ b/src/components/XButton/src/ButtonBase.vue @@ -73,18 +73,18 @@ const emit = defineEmits(['buttonBaseClick', 'updataTableColumns']) let timer = ref(null) const buttonBaseClick = (val, item, $event) => { - if(!timer.value){ - timer.value = setTimeout(()=>{ - if(timer.value){ - console.log('清空timer',timer.value) - clearTimeout(timer.value) - timer.value = null - } - },2000) + // if(!timer.value){ + // timer.value = setTimeout(()=>{ + // if(timer.value){ + // console.log('清空timer',timer.value) + // clearTimeout(timer.value) + // timer.value = null + // } + // },2000) clearButtonBlurHandle($event) //解决el-button点击后颜色不恢复问题 emit('buttonBaseClick', val, item, $event) - } + // } } onUnmounted(() => {