登录页测试环境开放国际化切换
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
448d626fc0
commit
42728a67d2
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue