邓洁 : 修改搜索细节
This commit is contained in:
@@ -53,14 +53,14 @@
|
||||
options: {
|
||||
styleIsolation: 'shared', // 解除样式隔离
|
||||
},
|
||||
watch: {
|
||||
refresh(newVal, oldVal) {
|
||||
console.log('newVal', newVal);
|
||||
if (newVal) {
|
||||
this.keyword = ''
|
||||
}
|
||||
}
|
||||
},
|
||||
// watch: {
|
||||
// refresh(newVal, oldVal) {
|
||||
// console.log('newVal', newVal);
|
||||
// // if (newVal) {
|
||||
// this.keyword = ''
|
||||
// // }
|
||||
// }
|
||||
// },
|
||||
onShow() {
|
||||
if (this.type !== '0') {
|
||||
this.open()
|
||||
@@ -70,6 +70,9 @@
|
||||
|
||||
},
|
||||
methods: {
|
||||
resetInfo() {
|
||||
this.keyword = ''
|
||||
},
|
||||
changeInput(e) {
|
||||
this.$emit('getQueryInfo', e)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user