Browse Source

Merge branch 'main' of http://git.cc-lotus.info/util/web-template-vue3-js into main

zs 1 year ago
parent
commit
e84c46d09f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lang/index.js

+ 2 - 0
src/lang/index.js

@@ -1,5 +1,7 @@
 import { createI18n } from 'vue-i18n'
 // 本地语言包
+// tm('key') 取ref对象 再用toRaw转换成普通对象
+// t('key.target')取值
 import enLocale from './package/en'
 import zhCnLocale from './package/zh-cn'