2023-10-31-2-dist

This commit is contained in:
X1627315083
2023-10-31 16:13:54 +08:00
parent 0358820450
commit 8a89cef38a
93 changed files with 867 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ export default defineComponent({
beforeUpload(file:any){
const isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/jpg' || file.type === 'image/bmp';
if (!isJpgOrPng) {
message.warning((this.t('Upload.jsContent2'));
message.warning(this.t('Upload.jsContent2'));
}
const isLt2M = file.size / 1024 / 1024 < 2;
if (!isLt2M) {