bug
This commit is contained in:
		| @@ -42,7 +42,7 @@ | ||||
|               <div class="left-item__item left-item__item--formname" key="title"> | ||||
|                 <h2>{{ form.title }}</h2> | ||||
|               </div> | ||||
|               <div class="left-item__item left-item__item--text" key="text"> | ||||
|               <div class="left-item__item left-item__item--text" key="text" v-if="form.isShowTableExplain"> | ||||
|                 <p>{{ form.tableExplain }}</p> | ||||
|               </div> | ||||
|             </div> | ||||
| @@ -175,7 +175,6 @@ | ||||
|                   <h2>显示说明</h2> | ||||
|                 </div> | ||||
|                 <el-switch | ||||
|                   @change="form.tableExplain = ''" | ||||
|                   v-model="form.isShowTableExplain"> | ||||
|                 </el-switch> | ||||
|               </div> | ||||
| @@ -547,12 +546,11 @@ | ||||
|               ...res.data, | ||||
|               headPicture: res.data.headPicture ? [{ | ||||
|                 url: res.data.headPicture | ||||
|               }] : [] | ||||
|               }] : [], | ||||
|               isShowheadPicture: !!res.data.headPicture, | ||||
|               isShowTableExplain: !!res.data.tableExplain | ||||
|             } | ||||
|  | ||||
|             this.form.isShowheadPicture = !!res.data.headPicture | ||||
|             this.form.isShowTableExplain = !!res.data.tableExplain | ||||
|  | ||||
|             this.targetList = res.data.fields.map(item => { | ||||
|               return JSON.parse(item.fieldInfo) | ||||
|             }) | ||||
| @@ -689,8 +687,8 @@ | ||||
|     } | ||||
|  | ||||
|     .left-item__item--formname { | ||||
|       margin: 16px 0 32px; | ||||
|       padding: 0 12px; | ||||
|       margin: 16px 0 0; | ||||
|       padding: 0 12px 32px; | ||||
|       color: #333333; | ||||
|       font-size: 15px; | ||||
|       font-weight: normal; | ||||
| @@ -700,7 +698,6 @@ | ||||
|  | ||||
|     .left-item__item--text { | ||||
|       line-height: 20px; | ||||
|       // margin-bottom: 48px; | ||||
|       padding: 0 12px 20px; | ||||
|       text-align: justify; | ||||
|       color: #666; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user