|
@@ -251,10 +251,13 @@
|
|
|
})
|
|
|
},
|
|
|
reset () {
|
|
|
- this.queryParams = initQueryParams({})
|
|
|
- this.$refs.table.clearSort()
|
|
|
- this.$refs.table.clearFilter()
|
|
|
- this.search()
|
|
|
+ this.queryParams = initQueryParams({});
|
|
|
+ this.brand = {
|
|
|
+ key: ''
|
|
|
+ };
|
|
|
+ this.$refs.table.clearSort();
|
|
|
+ this.$refs.table.clearFilter();
|
|
|
+ this.search();
|
|
|
},
|
|
|
add () {
|
|
|
this.$refs.edit.type = "add"
|