Explorar o código

修改结果判断

wyq %!s(int64=3) %!d(string=hai) anos
pai
achega
56beca74e7
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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;
+          }
         }
       });
     },