diff --git a/manager/src/api/index.js b/manager/src/api/index.js
index a0af28cb..897f96c5 100644
--- a/manager/src/api/index.js
+++ b/manager/src/api/index.js
@@ -16,16 +16,9 @@ let commonUrl = (process.env.NODE_ENV === 'development' ? config.api_dev.common
// 文件上传接口
export const uploadFile = commonUrl+ "/common/upload/file";
-// 验证码渲染图片接口
-export const drawCodeImage = commonUrl + "/common/captcha/draw/";
-// 获取菜单
-export const getMenuList = managerUrl + "/permission/getMenuList";
// Websocket
export const ws = managerUrl + "/ws";
-export const getMessageSendData = "";
-
-
//获取所有city
export const getAllCity = (params) => {
return getRequest(commonUrl + '/common/region/allCity', params)
diff --git a/manager/src/views/my-components/lili/upload-pic-input.vue b/manager/src/views/my-components/lili/upload-pic-input.vue
index 2db882e0..6ad5bddf 100644
--- a/manager/src/views/my-components/lili/upload-pic-input.vue
+++ b/manager/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"
@@ -74,10 +74,6 @@ export default {
type: Boolean,
default: false
},
- maxSize: {
- type: Number,
- default: 5
- },
maxlength: Number,
icon: {
type: String,
@@ -116,7 +112,7 @@ export default {
this.loading = false;
this.$Notice.warning({
title: "文件大小过大",
- desc: "所选文件‘ " + file.name + " ’大小过大, 不得超过 " + this.maxSize + "M."
+ desc: "所选文件大小过大, 不得超过1M."
});
},
// 上传前
diff --git a/manager/src/views/my-components/lili/upload-pic-thumb.vue b/manager/src/views/my-components/lili/upload-pic-thumb.vue
index 467c054b..55103adb 100644
--- a/manager/src/views/my-components/lili/upload-pic-thumb.vue
+++ b/manager/src/views/my-components/lili/upload-pic-thumb.vue
@@ -29,7 +29,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"
@@ -72,10 +72,6 @@ export default {
type: Boolean,
default: true
},
- maxSize: {
- type: Number,
- default: 5
- },
limit: {
type: Number,
default: 10
@@ -147,11 +143,7 @@ export default {
this.$Notice.warning({
title: "文件大小过大",
desc:
- "所选文件‘ " +
- file.name +
- " ’大小过大, 不得超过 " +
- this.maxSize +
- "M."
+ "所选文件大小过大,不能超过1M."
});
},
// 上传之前钩子
diff --git a/manager/src/views/promotion/live/liveDetail.vue b/manager/src/views/promotion/live/liveDetail.vue
index a808aa83..38b8bde4 100644
--- a/manager/src/views/promotion/live/liveDetail.vue
+++ b/manager/src/views/promotion/live/liveDetail.vue
@@ -58,12 +58,12 @@
-