Commit 63eb59b751335ec3cd1474245b2b2b3a52bb029c

Authored by Aaron
1 parent c23e3e84
Exists in master and in 1 other branch legacy

修复Search重置错误

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
packages/search/index.vue
@@ -190,7 +190,7 @@ export default { @@ -190,7 +190,7 @@ export default {
190 }, 190 },
191 // 重置表单 191 // 重置表单
192 handleReset() { 192 handleReset() {
193 - Object.keys(listObj).forEach(key => { 193 + Object.keys(this.model).forEach(key => {
194 this.model[key] = this.listKeySet[key] ? this.listKeySet[key].default : undefined; 194 this.model[key] = this.listKeySet[key] ? this.listKeySet[key].default : undefined;
195 }); 195 });
196 this.$nextTick(() => { 196 this.$nextTick(() => {