Showing
1 changed file
with
1 additions
and
4 deletions
| @@ -58,8 +58,7 @@ | @@ -58,8 +58,7 @@ | ||
| 58 | username: '', | 58 | username: '', |
| 59 | version: getApp().globalData.config.appInfo.version, | 59 | version: getApp().globalData.config.appInfo.version, |
| 60 | deptPathsText: '', | 60 | deptPathsText: '', |
| 61 | - telephone: '', | ||
| 62 | - initialNameChar: '' | 61 | + telephone: '' |
| 63 | } | 62 | } |
| 64 | }, | 63 | }, |
| 65 | onShow() { | 64 | onShow() { |
| @@ -87,8 +86,6 @@ | @@ -87,8 +86,6 @@ | ||
| 87 | this.username = this.$store.state.user.username || '', | 86 | this.username = this.$store.state.user.username || '', |
| 88 | this.deptPathsText =this.$store.state.user.deptPaths.length ? this.$store.state.user.deptPaths.join(',') : '', | 87 | this.deptPathsText =this.$store.state.user.deptPaths.length ? this.$store.state.user.deptPaths.join(',') : '', |
| 89 | this.telephone = this.$store.state.user.telephone | 88 | this.telephone = this.$store.state.user.telephone |
| 90 | - const _username = (this.username || '').trim() | ||
| 91 | - this.initialNameChar = _username ? _username.charAt(0) : '' | ||
| 92 | }, | 89 | }, |
| 93 | methods: { | 90 | methods: { |
| 94 | handleToPwd() { | 91 | handleToPwd() { |