lrf402788946 hace 4 años
padre
commit
41f56c91ab
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/views/patent/index.vue

+ 2 - 0
src/views/patent/index.vue

@@ -74,6 +74,7 @@ export default {
       list: [],
       total: 0,
       dialog: false,
+      errorList: [],
     };
   },
   async created() {
@@ -122,6 +123,7 @@ export default {
       const { data } = res;
       if (data) {
         this.$message.error('导入失败');
+        this.$set(this, 'errorList', data);
         this.dialog = true;
       } else {
         this.$message.success('导入成功');