瀏覽代碼

修改批量代码逻辑

syh 5 年之前
父節點
當前提交
727983c22f
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      src/views/template/creative/modules/material.vue
  2. 1 1
      vue.config.js

+ 2 - 1
src/views/template/creative/modules/material.vue

@@ -23,6 +23,7 @@
         <a-badge
           :count="HorizontalLargeImageListZu.length"
           :numberStyle="{backgroundColor: '#52c41a'} "
+          v-if="creativeType=='customize'"
         >
           <a-radio-button value="CREATIVE_IMAGE_MODE_GROUP">组图</a-radio-button>
         </a-badge>
@@ -77,7 +78,7 @@
                       preview
                       :region="region"
                       :bucket="bucket"
-                      :accept="acceptImage"
+                      :accept="materialType=='CREATIVE_IMAGE_MODE_VIDEO'||materialType=='CREATIVE_IMAGE_MODE_VIDEO_VERTICAL'?acceptVideo:acceptImage"
                       :size="102400"
                       :accessKeyId="accessKeyId"
                       :accessKeySecret="accessKeySecret"

+ 1 - 1
vue.config.js

@@ -64,7 +64,7 @@ module.exports = {
          }
        },*/
       '/jeecg-boot': {
-        target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
+        target: 'http://localhost:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.2.132:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.43.23:8080', //请求本地 需要jeecg-boot后台项目
         ws: false,