登录页浏览器推荐国际化问题
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0e71a32c58
commit
4c37ebef3e
|
@ -119,7 +119,12 @@
|
|||
{{ $t("login:button:login") }}
|
||||
</el-button>
|
||||
<div style="text-align: right">
|
||||
<TopLang v-if="VUE_APP_OSS_CONFIG_REGION !== 'oss-us-west-1'&& NODE_ENV !== 'usa'" />
|
||||
<TopLang
|
||||
v-if="
|
||||
VUE_APP_OSS_CONFIG_REGION !== 'oss-us-west-1' &&
|
||||
NODE_ENV !== 'usa'
|
||||
"
|
||||
/>
|
||||
<!-- Forget password? -->
|
||||
<el-button
|
||||
type="text"
|
||||
|
@ -261,6 +266,17 @@ export default {
|
|||
computed: {
|
||||
...mapGetters(["asyncRoutes", "routes", "language"]),
|
||||
},
|
||||
watch: {
|
||||
"$i18n.locale": {
|
||||
handler() {
|
||||
if (this.$refs.browserTip) {
|
||||
this.$refs.browserTip.open();
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.loginType = this.$route.query.loginType;
|
||||
this.location = this.$route.query.location;
|
||||
|
|
Loading…
Reference in New Issue