| | |
| | | ...mapState(['sysConfig']) |
| | | }, |
| | | mounted () { |
| | | alert(1) |
| | | this.username = localStorage.getItem('username') || '' |
| | | this.password = localStorage.getItem('password') || '' |
| | | this.phone = localStorage.getItem('phone') || '' |
| | | const isRemPsd = localStorage.getItem('isRemPsd') || false |
| | | this.isRemPsd = JSON.parse(isRemPsd) |
| | | this.refreshCaptcha() |
| | | this.getSystemConfig() |
| | | this.getSystemConfigDo() |
| | | }, |
| | | methods: { |
| | | ...mapMutations(['setUserInfo', 'setSysconfig']), |
| | | getSystemConfig () { |
| | | getSystemConfigDo () { |
| | | getSystemConfig() |
| | | .then((res) => { |
| | | if (res && res.subtitle) { |