|
|
@ -72,8 +72,17 @@ const props = defineProps({ |
|
|
|
const emit = defineEmits(['buttonBaseClick', 'updataTableColumns']) |
|
|
|
|
|
|
|
const buttonBaseClick = (val, item, $event) => { |
|
|
|
clearButtonBlurHandle($event) //解决el-button点击后颜色不恢复问题 |
|
|
|
emit('buttonBaseClick', val, item, $event) |
|
|
|
let timer = null |
|
|
|
if(!timer){ |
|
|
|
clearButtonBlurHandle($event) //解决el-button点击后颜色不恢复问题 |
|
|
|
emit('buttonBaseClick', val, item, $event) |
|
|
|
timer = setTimeout(()=>{ |
|
|
|
if(timer){ |
|
|
|
clearTimeout(timer) |
|
|
|
} |
|
|
|
},2000) |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
const popoverVisible = ref(false) |
|
|
|
// 关闭页面 |
|
|
|