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:
parent
d801cf28cc
commit
fe4bbded53
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user