guhongwei 2 năm trước cách đây
mục cha
commit
74fa3707c7

+ 1 - 3
src/views/patent/admin/examine/hairmess_autoCreate.vue

@@ -60,9 +60,7 @@ export default {
       let data = { uri: this.uri };
       let data = { uri: this.uri };
       let res = await this.import(data);
       let res = await this.import(data);
       if (this.$checkRes(res)) {
       if (this.$checkRes(res)) {
-        if (res.data && res.data.length > 0) {
-          this.$set(this, `list`, res.data);
-        }
+        if (typeof res.data != 'string') this.$set(this, `list`, res.data);
         this.$toast({ type: `success`, message: `操作成功` });
         this.$toast({ type: `success`, message: `操作成功` });
       } else {
       } else {
         this.$toast({ type: `success`, message: `${res.errmsg}` });
         this.$toast({ type: `success`, message: `${res.errmsg}` });