Merge pull request #13639 from dataease/pr@dev-v2_dzz
fix(xpack): xpack UI库国际化不生效
This commit is contained in:
commit
8918516508
@ -3,6 +3,7 @@ import noLic from './nolic.vue'
|
|||||||
import { ref, useAttrs, onMounted } from 'vue'
|
import { ref, useAttrs, onMounted } from 'vue'
|
||||||
import { execute, randomKey, formatArray } from './convert'
|
import { execute, randomKey, formatArray } from './convert'
|
||||||
import { load, loadDistributed, xpackModelApi } from '@/api/plugin'
|
import { load, loadDistributed, xpackModelApi } from '@/api/plugin'
|
||||||
|
import configGlobal from '@/components/config-global/src/ConfigGlobal.vue'
|
||||||
import { useCache } from '@/hooks/web/useCache'
|
import { useCache } from '@/hooks/web/useCache'
|
||||||
import { i18n } from '@/plugins/vue-i18n'
|
import { i18n } from '@/plugins/vue-i18n'
|
||||||
import * as Vue from 'vue'
|
import * as Vue from 'vue'
|
||||||
@ -152,6 +153,7 @@ onMounted(async () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<configGlobal>
|
||||||
<component
|
<component
|
||||||
:key="attrs.jsname"
|
:key="attrs.jsname"
|
||||||
ref="pluginProxy"
|
ref="pluginProxy"
|
||||||
@ -159,6 +161,5 @@ onMounted(async () => {
|
|||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
v-bind="attrs"
|
v-bind="attrs"
|
||||||
></component>
|
></component>
|
||||||
|
</configGlobal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="less" scoped></style>
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user