linwenxin 5 ay önce
ebeveyn
işleme
e4255f0bf0

+ 3 - 1
src/views/setting/workContactLetter/department/index.vue

@@ -187,9 +187,11 @@ export default {
           events: {
             change: val => {
               if (val) {
-                this.formData.userName = this.accountList?.find(item => item.adminUserId === val)?.nickName
+                this.formData.userName = this.accountList?.find(item => item.adminUserId === val)?.userName
+                this.formData.nickName = this.accountList?.find(item => item.adminUserId === val)?.nickName
               } else {
                 this.formData.userName = ''
+                this.formData.nickName = ''
               }
             }
           }