Handy_Cao 8 ay önce
ebeveyn
işleme
ef859dc1a9
3 değiştirilmiş dosya ile 3 ekleme ve 4 silme
  1. 0 1
      package-lock.json
  2. 2 2
      src/packages/pc/App.vue
  3. 1 1
      src/shims-vue.d.ts

+ 0 - 1
package-lock.json

@@ -11190,7 +11190,6 @@
       "version": "2.3.3",
       "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
       "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
-      "dev": true,
       "hasInstallScript": true,
       "optional": true,
       "os": [

+ 2 - 2
src/packages/pc/App.vue

@@ -22,7 +22,7 @@ import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
 import en from 'element-plus/dist/locale/en.mjs'
 import th from 'element-plus/dist/locale/th.mjs'
 import zhTW from 'element-plus/dist/locale/zh-tw.mjs'
-import vn from 'element-plus/dist/locale/vi-vn.mjs'
+import vi from 'element-plus/dist/locale/vi.mjs'
 
 const { userLogout } = useLogin()
 const router = useRouter()
@@ -37,7 +37,7 @@ const locale = computed(() => {
     case 'th':
       return th
     case 'vi':
-      return vn
+      return vi
     default:
       return en
   }

+ 1 - 1
src/shims-vue.d.ts

@@ -21,7 +21,7 @@ declare module 'element-plus/dist/locale/zh-cn.mjs'
 declare module 'element-plus/dist/locale/en.mjs'
 declare module 'element-plus/dist/locale/th.mjs'
 declare module 'element-plus/dist/locale/zh-tw.mjs'
-declare module 'element-plus/dist/locale/vi-vn.mjs'
+declare module 'element-plus/dist/locale/vi.mjs'
 declare module 'hqchart'
 declare module 'protobufjs'
 declare module '*.jpg'