From aedae961ffe899ee961de6e7f4b19c8a16f83f2e Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 17 Jul 2022 13:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=B6=88=E6=81=AF=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=96=B0=E4=BB=BB=E5=8A=A1=E6=97=B6=E5=9B=BE=E7=89=87=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=8E=9F=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/js/pages/manage/components/DialogWrapper.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index 0317c45e2..c05d4634b 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -1613,10 +1613,9 @@ export default { break; case "newTask": - Store.set('addTask', { - owner: [this.userId], - content: $A.formatMsgBasic(this.operateItem.msg.text) - }); + let content = $A.formatMsgBasic(this.operateItem.msg.text) + content = content.replace(/]*?src=(["'])(.*?)(_thumb\.jpg)*\1[^>]*?>/g, ``) + Store.set('addTask', {owner: [this.userId], content}); break; case "todo":