perf: 弹框关闭时不进行查询
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
* @Author: zhaojinfeng 121016171@qq.com
|
* @Author: zhaojinfeng 121016171@qq.com
|
||||||
* @Date: 2023-08-14 11:07:15
|
* @Date: 2023-08-14 11:07:15
|
||||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||||
* @LastEditTime: 2023-12-14 16:08:04
|
* @LastEditTime: 2023-12-14 18:05:02
|
||||||
* @FilePath: \vue3\packages\select-transfer-modal\index.vue
|
* @FilePath: \vue3\packages\select-transfer-modal\index.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -247,7 +247,10 @@ function transferValueInit() {
|
|||||||
|
|
||||||
transferValueInit()
|
transferValueInit()
|
||||||
|
|
||||||
watch(() => properties.defaultParams, handleQuery, { deep: true })
|
watch(() => properties.defaultParams, () => {
|
||||||
|
if (showDialog.value)
|
||||||
|
handleQuery()
|
||||||
|
}, { deep: true })
|
||||||
watch(() => properties.value, transferValueInit)
|
watch(() => properties.value, transferValueInit)
|
||||||
watch(() => properties.show, (show) => {
|
watch(() => properties.show, (show) => {
|
||||||
showDialog.value = show
|
showDialog.value = show
|
||||||
|
Reference in New Issue
Block a user