fix(warehouse): 重置仓库组件中的模型值

This commit is contained in:
lonewolfyx 2026-02-07 16:26:04 +08:00
parent e400aadb14
commit b43a03b206

View File

@ -41,6 +41,7 @@ onMounted(async () => {
watch(() => props.companyId, async (newValue) => { watch(() => props.companyId, async (newValue) => {
if (newValue || newValue === '') { if (newValue || newValue === '') {
modelValue.value = ''
await handleQuery() await handleQuery()
} }
}) })