1
0
mirror of synced 2025-12-13 17:58:24 +08:00

更新 ts、优化渲染、优化打印

This commit is contained in:
xuliangzhan
2021-04-10 23:37:45 +08:00
parent bfe1c6a0d0
commit eb2c8edcad
18 changed files with 213 additions and 93 deletions

View File

@@ -377,8 +377,7 @@ export default defineComponent({
changeEvent(evnt, multipleValue)
} else {
changeEvent(evnt, selectValue)
// 显示效果
setTimeout(hideOptionPanel, 100)
hideOptionPanel()
}
}
@@ -578,9 +577,11 @@ export default defineComponent({
const isLeftBtn = evnt.button === 0
if (isLeftBtn) {
evnt.stopPropagation()
if (!isDisabled) {
changeOptionEvent(evnt, optionValue)
}
}
},
onClick: (evnt: MouseEvent) => {
if (!isDisabled) {
changeOptionEvent(evnt, optionValue)
}
},
onMouseenter: () => {