Эх сурвалжийг харах

修改密码不显示旧密码

zhongxiaoyu 1 жил өмнө
parent
commit
b527167275

+ 3 - 1
src/views/newUserManagement/index.vue

@@ -498,7 +498,9 @@ export default {
       this.dataType = 'edit'
       this.dataTitle = '修改密码'
       this.userId = row.user_id
-      this.ruleForm = _.cloneDeep(row)
+      const ruleForm = _.cloneDeep(row)
+      ruleForm.user_pwd = ''
+      this.ruleForm = ruleForm
     },
     async handleTableDel (row) {
       this.dataObj = row