@xizs/nuxt-antui 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/components/layout/Base.vue +2 -2
- package/nuxt.config.ts +10 -6
- package/package.json +1 -1
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
<a-menu-item v-for="item in props.adminMenu" @click="item.click">
|
|
51
51
|
{{ item.name }}
|
|
52
52
|
</a-menu-item>
|
|
53
|
-
<a-menu-item @click="()=>singOut()">
|
|
53
|
+
<!-- <a-menu-item @click="()=>singOut()">
|
|
54
54
|
<a href="javascript:;">{{$t('退出')}}</a>
|
|
55
|
-
</a-menu-item>
|
|
55
|
+
</a-menu-item> -->
|
|
56
56
|
</a-menu>
|
|
57
57
|
</template>
|
|
58
58
|
</a-dropdown>
|
package/nuxt.config.ts
CHANGED
|
@@ -21,16 +21,20 @@ export default defineNuxtConfig({
|
|
|
21
21
|
i18n: {
|
|
22
22
|
defaultLocale: 'zh_CN',
|
|
23
23
|
strategy: 'no_prefix',
|
|
24
|
-
|
|
24
|
+
compilation: {
|
|
25
25
|
strictMessage: false,
|
|
26
26
|
escapeHtml: true,
|
|
27
27
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
bundle: {
|
|
29
|
+
optimizeTranslationDirective: false
|
|
30
|
+
},
|
|
31
31
|
locales: [
|
|
32
|
-
{ code: '
|
|
33
|
-
{ code: '
|
|
32
|
+
{ code: 'zh_CN', name: '🇨🇳 简体中文', file: 'zh_CN.json' },
|
|
33
|
+
{ code: 'zh_TW', name: '🇨🇳 繁体中文', file: 'zh_TW.json' },
|
|
34
|
+
{ code: 'en_US', name: '🇲🇾 English', file: 'en_US.json' },
|
|
35
|
+
{ code: 'vi_VN', name: '🇻🇳 Việt Nam', file: 'vi_VN.json' },
|
|
36
|
+
{ code: 'id_ID', name: '🇮🇩 Indonesia', file: 'id_ID.json' },
|
|
37
|
+
{ code: 'ms_MY', name: '🇲🇾 Melayu', file: 'ms_MY.json' },
|
|
34
38
|
]
|
|
35
39
|
}
|
|
36
40
|
})
|