From 65972957e56a31778cc1633b1032ac16627665f3 Mon Sep 17 00:00:00 2001 From: gaoshp <291585735@qq.com> Date: 星期六, 05 十月 2024 21:28:25 +0800 Subject: [PATCH] update --- src/views/console/system/addUser.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/console/system/addUser.vue b/src/views/console/system/addUser.vue index 9421f11..f9ce99f 100644 --- a/src/views/console/system/addUser.vue +++ b/src/views/console/system/addUser.vue @@ -14,7 +14,7 @@ </el-col> <el-col :span="12"> <el-form-item label="瀵嗙爜"> - <el-input v-model="form.test" placeholder="" :disabled="isDisabled" clearable></el-input> + <el-input v-model="form.password" placeholder="" :disabled="isDisabled" clearable></el-input> </el-form-item> </el-col> <el-col :span="12"> @@ -74,7 +74,7 @@ isSaveing: false, //琛ㄥ崟鏁版嵁 form: { - test: "", + password: "", account: "", realName: "", phone: "", @@ -111,6 +111,11 @@ }, methods: { employeeIdChange(val) { //鍏宠仈鍛樺伐 + if(val == null) { + this.form.employeeId = ""; + this.form.employeeName = ""; + return; + }; var that = this; this.form.employeeId = val[val.length - 1]; function forEmp(arr) { -- Gitblit v1.9.3