guhongwei hace 5 años
padre
commit
2b26acbe76
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/layout/user/exportForm.vue

+ 1 - 0
src/layout/user/exportForm.vue

@@ -155,6 +155,7 @@ export default {
       let data = JSON.parse(JSON.stringify(this.form));
       if (this.isNew) {
         data.status = '1';
+        data.role = '6';
         res = await this.create(data);
         msg = '用户创建成功';
       } else {