fix(xpack): xpack UI库国际化不生效

This commit is contained in:
dataeaseShu 2024-11-28 13:46:45 +08:00
parent 2e6a9e4f9c
commit c429eccd71

View File

@ -3,6 +3,7 @@ import noLic from './nolic.vue'
import { ref, useAttrs, onMounted } from 'vue'
import { execute, randomKey, formatArray } from './convert'
import { load, loadDistributed, xpackModelApi } from '@/api/plugin'
import configGlobal from '@/components/config-global/src/ConfigGlobal.vue'
import { useCache } from '@/hooks/web/useCache'
import { i18n } from '@/plugins/vue-i18n'
import * as Vue from 'vue'
@ -152,13 +153,13 @@ onMounted(async () => {
</script>
<template>
<component
:key="attrs.jsname"
ref="pluginProxy"
:is="plugin"
v-loading="loading"
v-bind="attrs"
></component>
<configGlobal>
<component
:key="attrs.jsname"
ref="pluginProxy"
:is="plugin"
v-loading="loading"
v-bind="attrs"
></component>
</configGlobal>
</template>
<style lang="less" scoped></style>