huangmp 1 éve
szülő
commit
1d754e4897

+ 2 - 2
.env.development

@@ -2,8 +2,8 @@
 ENV = 'development'
 
 // api接口请求地址
-VUE_APP_BASE_API = 'http://lymall-multishop.58for.com/apis'
-//VUE_APP_BASE_API = 'http://127.0.0.1:8087'
+//VUE_APP_BASE_API = 'http://lymall-multishop.58for.com/apis'
+VUE_APP_BASE_API = 'http://127.0.0.1:8087'
 
 // 客服api接口请求地址
 //VUE_APP_IM_API = 'https://b2b2c-im.mall4j.com'

+ 2 - 2
src/components/VideoBox/index.vue

@@ -505,9 +505,9 @@ export default {
      * @returns {boolean}
      */
     beforeUploadVideo (file) {
-      const isLt20M = file.size / 1024 / 1024 < 20
+      const isLt20M = file.size / 1024 / 1024 < 100
       if (!isLt20M) {
-        this.$message.error('上传视频大小不能超过20MB哦!')
+        this.$message.error('上传视频大小不能超过100MB哦!')
         return false
       }
       return true

+ 1 - 1
src/i18n/langs/zhCn.js

@@ -2381,7 +2381,7 @@ const zhCn = {
     query: '查询',
     tips1: '请选择视频',
     tips2: '请上传正确的视频格式',
-    tips3: '上传视频大小不能超过20MB!',
+    tips3: '上传视频大小不能超过100MB!',
     uploadVideo: '上传视频',
     selectLocalVideo: '请选择本地视频上传:',
     confirmUpload: '确定上传',

+ 1 - 1
src/views/modules/resource/audio-store/audio-store.vue

@@ -627,7 +627,7 @@ export default {
      * @returns {boolean}
      */
     beforeUploadVideo (file) {
-      const isLt20M = file.size / 1024 / 1024 < 20
+      const isLt20M = file.size / 1024 / 1024 < 100
       if (!isLt20M) {
         this.$message.error(this.$i18n.t('videoManager.tips3'))
         return false

+ 1 - 1
src/views/modules/resource/video-store/upload-video.vue

@@ -233,7 +233,7 @@ export default {
     },
     // 视频预上传
     onUploadChange (file, fileList) {
-      const isLt20M = file.size / 1024 / 1024 < 20
+      const isLt20M = file.size / 1024 / 1024 < 100
       if (!isLt20M) {
         this.$newMessage.error(this.$i18n.t('videoManager.tips3'))
         return

+ 1 - 1
src/views/modules/resource/video-store/video-store.vue

@@ -627,7 +627,7 @@ export default {
      * @returns {boolean}
      */
     beforeUploadVideo (file) {
-      const isLt20M = file.size / 1024 / 1024 < 20
+      const isLt20M = file.size / 1024 / 1024 < 100
       if (!isLt20M) {
         this.$message.error(this.$i18n.t('videoManager.tips3'))
         return false