|
|
@@ -712,8 +712,10 @@
|
|
|
this.versList = res || [];
|
|
|
if (type == 'del' || type == 'add') {
|
|
|
if (this.versList.length >= 1) {
|
|
|
- this.searchObj.versions =
|
|
|
- this.versList[this.versList.length - 1].versions;
|
|
|
+ if (!this.searchObj.versions) {
|
|
|
+ this.searchObj.versions =
|
|
|
+ this.versList[this.versList.length - 1].versions;
|
|
|
+ }
|
|
|
this.getTreeData();
|
|
|
} else {
|
|
|
this.searchObj.versions = '';
|