From bb2b78317f69f36c2fb5ca135912ad5d865ddd77 Mon Sep 17 00:00:00 2001 From: From-wh Date: Fri, 3 Mar 2023 15:41:17 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E6=B6=88=E6=81=AF=E5=85=B3=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/pages/app/wechat/reply/follow.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template/admin/src/pages/app/wechat/reply/follow.vue b/template/admin/src/pages/app/wechat/reply/follow.vue index 4894fb986..028cff914 100644 --- a/template/admin/src/pages/app/wechat/reply/follow.vue +++ b/template/admin/src/pages/app/wechat/reply/follow.vue @@ -210,7 +210,7 @@ export default { formatVoice: ['mp3', 'wma', 'wav', 'amr'], header: {}, formValidate: { - status: 1, + status: -1, type: '', key: this.$route.params.key || '', data: { @@ -287,6 +287,10 @@ export default { } keywordsinfoApi(url, data) .then(async (res) => { + if (res.data.info.data instanceof Array) { + this.formValidate.status = 0; + return; + } let info = res.data.info || {}; let data = info.data || {}; this.formValidate = {