fix: 修复登陆,i18n bug

This commit is contained in:
@changcode
2022-04-14 17:22:48 +08:00
parent 2cc23bf1a9
commit 884c9da2da
5 changed files with 9 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ export default {
return
}
this.loading = true
post(api.operationLog, { username: this.username, pin: this.pin }).then(
post(api.login, { username: this.username, pin: this.pin }).then(
res => {
if (res.code === 200) {
if (!this.$_.isEmpty(res.data.lang)) {