From 6c99555498c2b3212abd6bf34c49e4ef64891d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Tue, 8 Jul 2025 11:03:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E7=AC=94=E8=AE=B0=E4=B8=AD=EF=BC=8C=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E7=89=87=E7=AC=94=E8=AE=B0=EF=BC=8C=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E7=BC=96=E8=BE=91=E5=88=A0=E9=99=A4=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/Noteedit.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/views/user/Noteedit.vue b/src/views/user/Noteedit.vue index b90aea6b..4f80790e 100644 --- a/src/views/user/Noteedit.vue +++ b/src/views/user/Noteedit.vue @@ -195,9 +195,7 @@ export default { if(num == 1) { this.editdata.isAuto = true; } - if(this.imgContent.length > 0) { - this.editdata.content = this.imgContent.join(); - } + this.editdata.content = this.imgContent.join(); apiNote.update(this.editdata).then(res=>{ if(res.status == 200) { localStorage.removeItem(this.localStorageKey); //清空本地缓存