mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 02:06:38 +08:00
搜索功能的完善
This commit is contained in:
parent
b2470f5da9
commit
a38c7b6ba9
@ -836,6 +836,9 @@ export default {
|
||||
this.usetmessage(item.title);
|
||||
},
|
||||
selectage(item, index) {
|
||||
if(this.activeIndex=='-1'){
|
||||
this.activeIndex=0;
|
||||
}
|
||||
// debugger;
|
||||
// this.userishwo1 = !this.userishwo1;
|
||||
let tagUsedAge = {};
|
||||
@ -868,6 +871,9 @@ export default {
|
||||
this.activeIndexc = index;
|
||||
},
|
||||
selectagc(item, index) {
|
||||
if(this.activeIndex=='-1'){
|
||||
this.activeIndex=0;
|
||||
}
|
||||
// let tagFunction = {
|
||||
// petType: this.activeIndex1,
|
||||
// tagFunction: item.tagName,
|
||||
@ -891,6 +897,9 @@ export default {
|
||||
this.activeIndexd = index;
|
||||
},
|
||||
selectagd(item, index) {
|
||||
if(this.activeIndex=='-1'){
|
||||
this.activeIndex=0;
|
||||
}
|
||||
let tagBreed = {};
|
||||
if (item.checked == false) {
|
||||
item.checked = true;
|
||||
@ -921,6 +930,10 @@ export default {
|
||||
},
|
||||
selectproduct(item, index) {
|
||||
this.activeIndexb = index;
|
||||
console.log(this.activeIndex);
|
||||
if(this.activeIndex=='-1'){
|
||||
this.activeIndex=0;
|
||||
}
|
||||
if (item.checked == false) {
|
||||
item.checked = true;
|
||||
this.$refs.chosebox[index].className = "active";
|
||||
|
Loading…
Reference in New Issue
Block a user