fix: 关闭后的重置问题
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* @Author: zhaojinfeng 121016171@qq.com
|
||||
* @Date: 2023-08-14 11:07:15
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-08-14 19:30:19
|
||||
* @LastEditTime: 2023-08-14 21:49:26
|
||||
* @FilePath: \vue3\packages\select-transfer-modal\index.vue
|
||||
* @Description:
|
||||
*
|
||||
@ -207,10 +207,7 @@ function transferValueInit() {
|
||||
}
|
||||
|
||||
watch(() => properties.value, () => {
|
||||
if (!showDialog.value) {
|
||||
// 关闭时触发
|
||||
transferValueInit()
|
||||
}
|
||||
})
|
||||
watch(() => properties.show, (show) => {
|
||||
showDialog.value = show
|
||||
|
Reference in New Issue
Block a user