验证,样式调整等

This commit is contained in:
吕金泽
2022-02-05 17:20:12 +08:00
parent 854a860aa7
commit 0edba9b3cc
16 changed files with 167 additions and 85 deletions
@@ -36,6 +36,10 @@ export default {
where: {
type: Object,
default: () => {}
},
notReset: {
type: String,
default: ''
}
},
data() {
@@ -69,10 +73,12 @@ export default {
},
reset() {
for(var key in this.where){
if(this.where[key] instanceof Object){
this.where[key].value = null
}else{
this.where[key] = null
if(this.notReset.indexOf(key) == -1){
if(this.where[key] instanceof Object){
this.where[key].value = null
}else{
this.where[key] = null
}
}
}
this.$nextTick(() => this.$emit('search'))