去除formatContent
This commit is contained in:
		| @@ -95,10 +95,10 @@ | ||||
|               <template #left> | ||||
|                 <el-select v-model="search.joinStatus" placeholder="确认状态" size="small" clearable class="vc-input-160" @change="searchMeetinguser"> | ||||
|                   <el-option | ||||
|                     v-for="(item,k) in confirmStatus" | ||||
|                     :key="k" | ||||
|                     :label="item.label" | ||||
|                     :value="k"> | ||||
|                       v-for="(item,k) in confirmStatus" | ||||
|                       :key="k" | ||||
|                       :label="item.label" | ||||
|                       :value="k"> | ||||
|                   </el-option> | ||||
|                 </el-select> | ||||
|               </template> | ||||
| @@ -109,10 +109,10 @@ | ||||
|               </template> | ||||
|             </ai-search-bar> | ||||
|             <ai-table | ||||
|               :tableData="info.attendees" | ||||
|               :colConfigs="colConfigs" | ||||
|               style="margin-top: 12px;" | ||||
|               :isShowPagination="false"> | ||||
|                 :tableData="info.attendees" | ||||
|                 :colConfigs="colConfigs" | ||||
|                 style="margin-top: 12px;" | ||||
|                 :isShowPagination="false"> | ||||
|               <el-table-column slot="meetingUserName" | ||||
|                                label="姓名" | ||||
|                                align="center" | ||||
| @@ -201,7 +201,7 @@ export default { | ||||
|         { | ||||
|           slot: 'joinStatus', | ||||
|         }, | ||||
|         { prop: 'signInStatus', align: 'center', label: '签到', formart: v => v === '1' ? '已签到' : '未签到' }, | ||||
|         {prop: 'signInStatus', align: 'center', label: '签到', formart: v => v === '1' ? '已签到' : '未签到'}, | ||||
|         { | ||||
|           slot: 'option', | ||||
|         } | ||||
| @@ -249,11 +249,9 @@ export default { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|           this.info = { | ||||
|             ...res.data, | ||||
|             content: this.formatContent(res.data.content || ""), | ||||
|             files: res.data.files || [] | ||||
|           }; | ||||
|           let {files = [], content} = res.data | ||||
|           content = content.replace(/(\r\n)|(\n)/g, "<br>") | ||||
|           this.info = {...res.data, content, files}; | ||||
|           this.searchMeetinguser() | ||||
|         } | ||||
|       }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user