guhongwei 3 rokov pred
rodič
commit
1b1a56c0bc

+ 5 - 1
src/views/account/adminCenter/users/index.vue

@@ -100,7 +100,11 @@ export default {
       var p1 = data.file.map((item) => ({ uri: item.url }))[0];
       let res = await this.import(p1);
       if (this.$checkRes(res)) {
-        console.log(res);
+        this.$toast({ type: `success`, message: `操作完成` });
+        this.search();
+        this.dialog = { show: false, title: '批量注册', type: '1' };
+      } else {
+        this.$toast({ type: `success`, message: `${res.errmsg}` });
       }
     },
     // 数据模板下载