linwenxin hace 1 año
padre
commit
cbf9aa081a
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/views/mallManagement/setActivity/index.vue

+ 3 - 2
src/views/mallManagement/setActivity/index.vue

@@ -372,7 +372,7 @@ export default {
                     render: (h, { row, column, index }) => {
                       return (
                         <div style="padding:6px;">
-                          <div style="font-weight:bold;">{row.isRequire?<span style="color:red">*</span> : null}{index+1}、{row.question}({['单选','多选','填写'][row.type-1]})</div>
+                          <div style="font-weight:bold;">{row.isRequire?<span style="color:red">*</span> : null}{index+1}、{row.question}({['单选','多选','填写','图片/视频'][row.type-1]})</div>
                           {[
                           <div>
                             {row.answer.map(item=><el-radio disabled label="">{item.option_value}</el-radio>)}
@@ -382,7 +382,8 @@ export default {
                           </div>,
                           <div>
                             <el-input disabled placeholder="请输入内容"></el-input>
-                          </div>
+                          </div>,
+                          null
                           ][row.type-1]}
                         </div>
                       )