@@ -609,7 +609,7 @@ export default {
handleMaxSize(file) {
this.$Notice.warning({
title: "超过文件大小限制",
- desc: "图片 " + file.name + " 不能超过2mb"
+ desc: "图片大小不能超过1MB"
});
},
// 图片上传前钩子
diff --git a/seller/src/views/my-components/lili/upload-pic-input.vue b/seller/src/views/my-components/lili/upload-pic-input.vue
index 32cdaa5d..72f67705 100644
--- a/seller/src/views/my-components/lili/upload-pic-input.vue
+++ b/seller/src/views/my-components/lili/upload-pic-input.vue
@@ -27,7 +27,7 @@
:on-error="handleError"
:format="['jpg','jpeg','png','gif','bmp']"
accept=".jpg, .jpeg, .png, .gif, .bmp"
- :max-size="maxSize*1024"
+ :max-size="1024"
:on-format-error="handleFormatError"
:on-exceeded-size="handleMaxSize"
:before-upload="beforeUpload"
@@ -71,10 +71,6 @@ export default {
type: Boolean,
default: false
},
- maxSize: { // 图片最大尺寸
- type: Number,
- default: 5
- },
maxlength: Number, // 最大长度
icon: { // 上传按钮图标
type: String,
@@ -113,7 +109,7 @@ export default {
this.loading = false;
this.$Notice.warning({
title: "文件大小过大",
- desc: "所选文件‘ " + file.name + " ’大小过大, 不得超过 " + this.maxSize + "M."
+ desc: "所选文件大小过大, 不得超过1M."
});
},
// 上传前
diff --git a/seller/src/views/my-components/lili/upload-pic-thumb.vue b/seller/src/views/my-components/lili/upload-pic-thumb.vue
index c8d18bf5..1c80de62 100644
--- a/seller/src/views/my-components/lili/upload-pic-thumb.vue
+++ b/seller/src/views/my-components/lili/upload-pic-thumb.vue
@@ -30,7 +30,7 @@
:on-success="handleSuccess"
:on-error="handleError"
:format="['jpg','jpeg','png','gif']"
- :max-size="maxSize*1024"
+ :max-size="1024"
:on-format-error="handleFormatError"
:on-exceeded-size="handleMaxSize"
:before-upload="handleBeforeUpload"
@@ -74,10 +74,6 @@ export default {
type: Boolean,
default: true
},
- maxSize: { // 大小限制 MB
- type: Number,
- default: 5
- },
disable:{ // 禁止上传
type: Boolean,
default: false
@@ -154,11 +150,7 @@ export default {
this.$Notice.warning({
title: "文件大小过大",
desc:
- "所选文件‘ " +
- file.name +
- " ’大小过大, 不得超过 " +
- this.maxSize +
- "M."
+ "所选文件大小过大, 不得超过1M."
});
},
handleBeforeUpload() {
diff --git a/seller/src/views/order/after-order/orderComplaintDetail.vue b/seller/src/views/order/after-order/orderComplaintDetail.vue
index cc5ffa5e..52d35d8e 100644
--- a/seller/src/views/order/after-order/orderComplaintDetail.vue
+++ b/seller/src/views/order/after-order/orderComplaintDetail.vue
@@ -89,7 +89,7 @@
@@ -316,7 +316,7 @@ export default {
handleMaxSize(file) {
this.$Notice.warning({
title: "超过文件大小限制",
- desc: "图片 " + file.name + " 不能超过2mb",
+ desc: "图片不能超过1mb",
});
},
// 获取详情
diff --git a/seller/src/views/order/order/orderList.vue b/seller/src/views/order/order/orderList.vue
index 870a7bb7..a3f1f32b 100644
--- a/seller/src/views/order/order/orderList.vue
+++ b/seller/src/views/order/order/orderList.vue
@@ -258,7 +258,7 @@ export default {
const params = {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
- pageSize: 100, // 页面大小
+ pageSize: 10000, // 页面大小
sort: "startDate", // 默认排序字段
order: "desc", // 默认排序方式
startDate: "", // 起始时间
@@ -284,7 +284,7 @@ export default {
}
return res.result
} else {
- this.$Message.warning('暂无待发货订单')
+ this.$Message.warning('导出订单失败,请重试')
}
},
diff --git a/seller/src/views/promotion/live/addLive.vue b/seller/src/views/promotion/live/addLive.vue
index 220af7c8..1f9b78bc 100644
--- a/seller/src/views/promotion/live/addLive.vue
+++ b/seller/src/views/promotion/live/addLive.vue
@@ -67,12 +67,12 @@
+ :on-format-error="handleFormatError" :max-size="1024" :on-exceeded-size="handleMaxSize" type="drag" :action="action" :headers="accessToken" style="display: inline-block;width:58px;">
- 直播间背景图,图片规则:建议像素1080*1920,大小不超过2M
+ 直播间背景图,图片规则:建议像素1080*1920,大小不超过1M
@@ -88,7 +88,7 @@