husq
2023-10-08 a0d006a8e6734ce1ff08fc5d196266cc2fd27f7d
src/pages/page-pilot/pilot-index.vue
@@ -117,7 +117,7 @@
        localStorage.setItem(ELocalStorageKey.UserId, res.data.user_id)
        localStorage.setItem(ELocalStorageKey.Username, res.data.username)
        localStorage.setItem(ELocalStorageKey.Flag, EUserType.Pilot.toString())
        message.success('Login Success')
        message.success('登录成功')
        root.$router.push(ERouterName.PILOT_HOME)
      }
    })
@@ -130,9 +130,9 @@
  isVerified.value = apiPilot.platformVerifyLicense(CURRENT_CONFIG.appId, CURRENT_CONFIG.appKey, CURRENT_CONFIG.appLicense) &&
    apiPilot.isPlatformVerifySuccess()
  if (isVerified.value) {
    message.success('The license verification is successful.')
    message.success('license验证成功')
  } else {
    message.error('Filed to verify the license. Please check license whether the license is correct, or apply again.')
    message.error('申请license验证。请检查license是否正确,或者重新申请')
  }
}
</script>