Browse Source

修改结果判断

wyq 3 years ago
parent
commit
56beca74e7
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/components/common/LtModal.vue

+ 5 - 1
src/components/common/LtModal.vue

@@ -268,7 +268,11 @@ export default {
       api.retrievalSearch(params).then(res => {
         this.showDrop = false;
         if (res.data.code === '0') {
-          this.uniqueNameList = res.data.data.nameList;
+          if (this.ty == 2) {
+            this.uniqueNameList = res.data.data.lisDetailNames;
+          } else {
+            this.uniqueNameList = res.data.data.nameList;
+          }
         }
       });
     },