From a0c6066f25079580213ea2a8422b99082ab17f22 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 26 Aug 2025 10:12:26 +0800
Subject: [PATCH] 1
---
src/views/account/components/fnv.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/views/account/components/fnv.vue b/src/views/account/components/fnv.vue
index 2c8b057..a47dc4b 100644
--- a/src/views/account/components/fnv.vue
+++ b/src/views/account/components/fnv.vue
@@ -50,7 +50,7 @@
<el-upload
:with-credentials="true"
class="avatar-uploader"
- :action="admin + 'user/upload.do'"
+ :action="admin + '/user/upload.do'"
list-type="picture-card"
name="upload_file"
:show-file-list="false"
@@ -156,14 +156,14 @@
},
beforeAvatarUpload2(file) {
this.imgStatus2 = true;
- const isLt10M = file.size / 1024 / 1024 < 10;
- if (!isLt10M) {
- this.$message.error(this.$t("hj205"));
- return false;
- } else {
- this.form.img2key = URL.createObjectURL(file);
- compress(file, function (val) {});
- }
+ // const isLt10M = file.size / 1024 / 1024 < 10;
+ // if (!isLt10M) {
+ // this.$message.error(this.$t("hj205"));
+ // return false;
+ // } else {
+ // this.form.img2key = URL.createObjectURL(file);
+ // compress(file, function (val) {});
+ // }
},
handleError2() {
this.imgStatus2 = false;
--
Gitblit v1.9.3