src/views/system/user/index.vue
@@ -737,14 +737,15 @@ /** 新增按钮操作 */ handleAdd() { this.reset(); getUser().then((response) => { this.postOptions = response.posts; this.roleOptions = response.roles; this.open = true; this.open = true; this.title = "添加用户"; this.form.password = this.initPassword; this.form.depts = []; }); // getUser().then((response) => { // this.postOptions = response.posts; // this.roleOptions = response.roles; // }); }, /** 修改按钮操作 */ handleUpdate(row) {