From a422ad4177cb4031561bcd27ac00ee6088e70fd5 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Fri, 7 Apr 2023 16:23:02 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BE=E6=96=87=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=9C=89=E8=AF=AF=EF=BC=8Carticles=E4=B8=BA=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dhb52 --- src/views/mp/components/wx-reply/main.vue | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/views/mp/components/wx-reply/main.vue b/src/views/mp/components/wx-reply/main.vue index a31e9462..b7bc3443 100644 --- a/src/views/mp/components/wx-reply/main.vue +++ b/src/views/mp/components/wx-reply/main.vue @@ -37,7 +37,7 @@

{{ objDataRef.name }}

- + @@ -52,7 +52,7 @@ - + @@ -91,20 +91,20 @@

{{ objDataRef.name }}

- +
- - + +
- 素材库选择 + 素材库选择 - + @@ -151,7 +151,7 @@ @input="inputContent" />
- +
@@ -162,7 +162,7 @@ - + @@ -196,8 +196,8 @@
-
- +
+ @@ -216,9 +216,9 @@ - @@ -268,9 +268,9 @@ - @@ -482,7 +482,7 @@ export default defineComponent({ // 创建 tempObjItem 对象,并设置对应的值 let tempObjItem = { type: '', - articles: '', + articles: [], thumbMediaId: '', thumbMediaUrl: '', introduction: '', @@ -560,7 +560,7 @@ export default defineComponent({ } const deleteObj = () => { if (objDataRef.type === 'news') { - objDataRef.articles = '' + objDataRef.articles = [] } else if (objDataRef.type === 'image') { objDataRef.mediaId = null objDataRef.url = null