|
@@ -204,7 +204,7 @@
|
|
}
|
|
}
|
|
this.rightTagsList.splice(this.selectRightTagIndex, 1)
|
|
this.rightTagsList.splice(this.selectRightTagIndex, 1)
|
|
this.selectLeftTagsList = [];
|
|
this.selectLeftTagsList = [];
|
|
- this.selectRightTagIndex = -1;
|
|
|
|
|
|
+ this.selectRightTagIndex -= 1;
|
|
this.getSymptomList()
|
|
this.getSymptomList()
|
|
|
|
|
|
},
|
|
},
|
|
@@ -215,7 +215,7 @@
|
|
const tempItem = this.rightTagsList[this.selectRightTagIndex]
|
|
const tempItem = this.rightTagsList[this.selectRightTagIndex]
|
|
this.rightTagsList.splice(this.selectRightTagIndex, 1)
|
|
this.rightTagsList.splice(this.selectRightTagIndex, 1)
|
|
this.rightTagsList.splice(this.selectRightTagIndex-1, 0,tempItem)
|
|
this.rightTagsList.splice(this.selectRightTagIndex-1, 0,tempItem)
|
|
- this.selectRightTagIndex = -1
|
|
|
|
|
|
+ this.selectRightTagIndex -= 1
|
|
},
|
|
},
|
|
toDown(){
|
|
toDown(){
|
|
if(this.selectRightTagIndex === this.rightTagsList.length-1 || this.selectRightTagIndex === -1) {
|
|
if(this.selectRightTagIndex === this.rightTagsList.length-1 || this.selectRightTagIndex === -1) {
|
|
@@ -224,7 +224,7 @@
|
|
const tempItem = this.rightTagsList[this.selectRightTagIndex]
|
|
const tempItem = this.rightTagsList[this.selectRightTagIndex]
|
|
this.rightTagsList.splice(this.selectRightTagIndex, 1)
|
|
this.rightTagsList.splice(this.selectRightTagIndex, 1)
|
|
this.rightTagsList.splice(this.selectRightTagIndex+1, 0,tempItem)
|
|
this.rightTagsList.splice(this.selectRightTagIndex+1, 0,tempItem)
|
|
- this.selectRightTagIndex = -1
|
|
|
|
|
|
+ this.selectRightTagIndex += 1
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|