登录页测试环境开放国际化切换
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">
|
||||
{{ $t('login:button:forgetPassword') }}
|
||||
</el-button>
|
||||
<TopLang v-if="isDev" />
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
|
@ -180,6 +181,9 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
...mapGetters(['asyncRoutes', 'routes', 'language']),
|
||||
isDev() {
|
||||
return process.env.VUE_APP_OSS_PATH === "/hir_test/dist"
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getInfo()
|
||||
|
|
Loading…
Reference in New Issue