fix(warehouse): 重置仓库组件中的模型值
This commit is contained in:
parent
e400aadb14
commit
b43a03b206
@ -41,6 +41,7 @@ onMounted(async () => {
|
||||
|
||||
watch(() => props.companyId, async (newValue) => {
|
||||
if (newValue || newValue === '') {
|
||||
modelValue.value = ''
|
||||
await handleQuery()
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user