登录页测试环境开放国际化切换
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-03-31 14:52:47 +08:00
parent 448d626fc0
commit 42728a67d2
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,7 @@
<el-button type="text" size="medium" @click.native.prevent="handleResetPwd"> <el-button type="text" size="medium" @click.native.prevent="handleResetPwd">
{{ $t('login:button:forgetPassword') }} {{ $t('login:button:forgetPassword') }}
</el-button> </el-button>
<TopLang v-if="isDev" />
</div> </div>
</el-form> </el-form>
</div> </div>
@ -180,6 +181,9 @@ export default {
}, },
computed: { computed: {
...mapGetters(['asyncRoutes', 'routes', 'language']), ...mapGetters(['asyncRoutes', 'routes', 'language']),
isDev() {
return process.env.VUE_APP_OSS_PATH === "/hir_test/dist"
}
}, },
created() { created() {
this.getInfo() this.getInfo()