Merge branch 'zcwy-0306' into dev0223

This commit is contained in:
zhangsir
2024-04-11 20:37:29 +08:00

View File

@@ -776,7 +776,7 @@ import {timeoutUpload} from "@/api/configPublic";
// { value: 3, label: "已发布" }, // { value: 3, label: "已发布" },
// ]); // ]);
onMounted(()=>{ onMounted(()=>{
timeoutUpload(1000*60*5) timeoutUpload(1000*60*20)
state.tableLoading = true state.tableLoading = true
listData() listData()
}) })
@@ -1271,9 +1271,11 @@ import {timeoutUpload} from "@/api/configPublic";
state.stateUpload = false state.stateUpload = false
return false; return false;
} }
console.log(file.size)
let isLt1M = file.size < 1024000000; let isLt1M = file.size < 1024000000;
if (!isLt1M) { if (!isLt1M) {
message.error("文件大小超过1GB!"); message.error("文件大小超过1GB!");
state.uploadTypes = false
return false; return false;
} }
state.uploadDownLoad = true state.uploadDownLoad = true
@@ -1857,7 +1859,7 @@ import {timeoutUpload} from "@/api/configPublic";
.updataxq2 { .updataxq2 {
position: absolute; position: absolute;
right: 2px; right: 2px;
top: -30px; top: -35px;
color: #ff7474; color: #ff7474;
} }