feat: 上传前判断大小、新文件插入第一位

This commit is contained in:
lan
2024-06-15 17:27:28 +08:00
parent fd7fb2c9c6
commit f60ecef6a1
15 changed files with 193 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { createI18n } from 'vue-i18n' //引入vue-i18n组件
import messages from './index'
const language = (
navigator.language || 'zh'
navigator.language || 'zh_cn'
).toLowerCase();
const lang = (localStorage.getItem('language') || language).replace(/-/, '_');
const i18n = createI18n({