This commit is contained in:
jianghanbo 2024-10-28 16:52:59 +08:00
parent d42a911233
commit 3d316fee5a
12 changed files with 10 additions and 10 deletions

View File

@ -236,13 +236,13 @@ export default {
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
].includes(file.type);
const isRightSize = file.size / 1024 / 1024 < 2;
const isRightSize = file.size / 1024 / 1024 < 500;
if (!isRightType) {
this.$message.error("只允许上传 PDF、DOCX、XLSX 格式的文件");
}
if (!isRightSize) {
this.$message.error("文件大小超过 2MB");
this.$message.error("文件大小超过 500MB");
}
return isRightType && isRightSize;

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.pagination-container[data-v-6af373ef]{background:#fff;padding:32px 16px}.pagination-container.hidden[data-v-6af373ef]{display:none}.link-type[data-v-b430e112]{color:#07b5f9;cursor:pointer}
.pagination-container[data-v-6af373ef]{background:#fff;padding:32px 16px}.pagination-container.hidden[data-v-6af373ef]{display:none}.link-type[data-v-b91865a6]{color:#07b5f9;cursor:pointer}

View File

@ -0,0 +1 @@
.contract[data-v-742774f5]{padding-top:20px}.contract .lay[data-v-742774f5]{width:100%}.contract .lay .flex[data-v-742774f5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:20px;margin-bottom:20px}.contract .lay .word[data-v-742774f5]{margin:0 50px}

View File

@ -1 +0,0 @@
.contract[data-v-0749413b]{padding-top:20px}.contract .lay[data-v-0749413b]{width:100%}.contract .lay .flex[data-v-0749413b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:20px;margin-bottom:20px}.contract .lay .word[data-v-0749413b]{margin:0 50px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long