feat: 更新系统名称为MOM/BOM分类分组展示/上传组件增强(删除确认+压缩包150MB)

This commit is contained in:
dxc
2026-05-12 15:45:41 +08:00
parent 6b4ebfa24f
commit f2f9409206
3 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ const handleLogout = () => {
<footer v-if="!isLoginPage" class="app-footer">
<span class="version-tag">
<el-icon style="vertical-align: middle; margin-right: 4px"><InfoFilled /></el-icon>
当前版本:V3.17(4.29部署
当前版本:V3.18(4.29部署
</span>
</footer>

View File

@ -616,7 +616,7 @@ const fetchBomList = async () => {
const res = await getBomList({ keyword: searchKeyword.value })
if (res.code === 200) {
bomGroups.value = res.data
activeCategories.value = res.data.map((g: any) => g.category)
activeCategories.value = []
}
} finally { loading.value = false }
}

View File

@ -1566,7 +1566,7 @@ const beforeAvatarUpload = (rawFile: any) => {
return false;
}
const isCompressed = ['application/zip', 'application/x-zip-compressed', 'application/x-rar-compressed', 'application/vnd.rar', 'application/x-7z-compressed'].includes(rawFile.type);
const maxMB = isCompressed ? 50 : 10;
const maxMB = 150;
if (rawFile.size / 1024 / 1024 > maxMB) {
ElMessage.error(`文件不能超过 ${maxMB}MB`);
return false;