Merge pull request #13639 from dataease/pr@dev-v2_dzz

fix(xpack): xpack UI库国际化不生效
This commit is contained in:
xuwei-fit2cloud 2024-11-28 14:46:59 +08:00 committed by GitHub
commit 8918516508
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>