Pārlūkot izejas kodu

修改密码不显示旧密码

zhongxiaoyu 1 gadu atpakaļ
vecāks
revīzija
b527167275
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      src/views/newUserManagement/index.vue

+ 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