瀏覽代碼

修改bug

chenrui 11 月之前
父節點
當前提交
b88b8f7174
共有 1 個文件被更改,包括 12 次插入10 次删除
  1. 12 10
      src/views/promotionManagement/promotionInfo/detailModal.vue

+ 12 - 10
src/views/promotionManagement/promotionInfo/detailModal.vue

@@ -38,20 +38,22 @@
             {{ form.contentType==='IMAGE_CONTENT'?'图文展示':form.contentType==='VIDEO'?'视频展示':'跳转链接' }}
           </a-form-model-item>
           <div v-if="form.contentType==='IMAGE_CONTENT'">
-            <a-form-model-item label="内容" prop="productRangeList" >
+            <a-form-model-item label="内容" prop="content" >
               <div class="box" v-html="form.content"></div>
             </a-form-model-item>
           </div>
           <div v-if="form.contentType==='VIDEO'">
-            <video
-              ref="videoPlayer"
-              width="230"
-              height="150"
-              controls
-              loop
-              controlsList="nodownload">
-              <source :src="form.content" type="video/mp4">
-            </video>
+            <a-form-model-item label="内容" prop="content" >
+              <video
+                ref="videoPlayer"
+                width="230"
+                height="150"
+                controls
+                loop
+                controlsList="nodownload">
+                <source :src="form.content" type="video/mp4">
+              </video>
+            </a-form-model-item>
           </div>
           <div v-if="form.contentType==='LINK'">
             <a-form-model-item label="基本规则" prop="ruleType">