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