show self host in unicode (#3200)

This commit is contained in:
MeiMei
2018-11-11 12:35:30 +09:00
committed by syuilo
parent 5d3d78a73e
commit 036d46c459
7 changed files with 14 additions and 7 deletions

View File

@ -21,6 +21,7 @@
import Vue from 'vue';
import i18n from '../../../i18n';
import { apiUrl, host } from '../../../config';
import { toUnicode } from 'punycode';
export default Vue.extend({
i18n: i18n('common/views/components/signin.vue'),
@ -39,7 +40,7 @@ export default Vue.extend({
password: '',
token: '',
apiUrl,
host
host: toUnicode(host)
};
},
methods: {