浏览代码

🎈 perf(i18n): i18n打印清理

陈雪 1 月之前
父节点
当前提交
bfc88280b2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/locale/index.ts

+ 0 - 1
src/locale/index.ts

@@ -25,7 +25,6 @@ export const getTemplateByKey = (key: string) => {
     return ''
   }
   const locale = uni.getLocale()
-  console.log('locale:', locale)
 
   const message = messages[locale] // 拿到某个多语言的所有模板(是一个对象)
   if (Object.keys(message).includes(key)) {