()
| 172 | } |
| 173 | |
| 174 | async checkToken() { |
| 175 | try { |
| 176 | const res = await this.request("/api/Person/index"); |
| 177 | if (res.data) this.session.userInfo = res.data; |
| 178 | return true; |
| 179 | } catch (e) { |
| 180 | return false; |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | async doSign() { |
| 185 | try { |