show self host in unicode (#3200)
This commit is contained in:
parent
5d3d78a73e
commit
036d46c459
7 changed files with 14 additions and 7 deletions
|
|
@ -8,11 +8,12 @@
|
|||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import { host } from '../../../config';
|
||||
import { toUnicode } from 'punycode';
|
||||
export default Vue.extend({
|
||||
props: ['user', 'detail'],
|
||||
data() {
|
||||
return {
|
||||
host
|
||||
host: toUnicode(host)
|
||||
};
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue