We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d74f18 commit 592085bCopy full SHA for 592085b
src/views/personnel/user/index.vue
@@ -128,7 +128,8 @@
128
</el-form-item>
129
</el-col>
130
<el-col :span="12">
131
- <el-form-item :label="dialogType === 'create' ? '新密码':'重置密码'" prop="password">
+ <!-- 修改用户时,不显示密码字段 -->
132
+ <el-form-item :label="dialogType === 'create' ? '新密码':'重置密码'" prop="password" v-if="dialogType === 'create'">
133
<el-input v-model.trim="dialogFormData.password" autocomplete="off" :type="passwordType" :placeholder="dialogType === 'create' ? '新密码':'重置密码'" />
134
<span class="show-pwd" @click="showPwd">
135
<svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
0 commit comments