瀏覽代碼

修改富文本bug

bding 1 年之前
父節點
當前提交
5188c34d99
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/rai_manage/activityManage/components/ThemeSurvey/voteDlg.vue

+ 1 - 1
src/views/rai_manage/activityManage/components/ThemeSurvey/voteDlg.vue

@@ -167,7 +167,7 @@ export default {
           const res = await raiInterface.questionnairePreserveAndEdit({
             ActivityTypeId: this.votingForm.type,
             MaxChooseTotal: this.votingForm.select,
-            Content: this.votingForm.describe,
+            Content: this.votingForm.describe.replace(/<p data-f-id=\"pbf\".*?<\/p>/g,''),
             EndTime: this.votingForm.date,
             ListTheme: this.votingForm.addThemeList,
             QuestionnaireId: this.rowForm.QuestionnaireId || 0,