1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-04-30 22:29:01 +08:00

fix: 重置空字符 -> null

This commit is contained in:
zclzone 2023-12-28 17:09:12 +08:00
parent d801cf28cc
commit fe4bbded53

View File

@ -129,7 +129,7 @@ function handleSearch() {
async function handleReset() {
const queryItems = { ...props.queryItems }
for (const key in queryItems) {
queryItems[key] = ''
queryItems[key] = null
}
emit('update:queryItems', { ...queryItems, ...initQuery })
await nextTick()