From b6efed791eec60dd30976a5f459ce10a4e599740 Mon Sep 17 00:00:00 2001 From: wangqiujuan0808 <578331299@qq.com> Date: Thu, 27 Jun 2024 10:02:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AddReport.vue | 4 ++-- src/components/AddSet.vue | 25 ++++++++++++------------- src/components/AddTransparent.vue | 2 +- src/components/ViewSet.vue | 23 ++++++++++++++++++----- src/views/Page.vue | 8 ++++---- src/views/Report.vue | 8 ++++---- src/views/Rules.vue | 8 ++++---- 7 files changed, 45 insertions(+), 33 deletions(-) diff --git a/src/components/AddReport.vue b/src/components/AddReport.vue index 489680a..6351e41 100644 --- a/src/components/AddReport.vue +++ b/src/components/AddReport.vue @@ -110,10 +110,10 @@ export default { const res = props.type === 'I' ? await infoApi.saveTx(req_data) : await infoApi.updateTx(req_data); const ret = response.decode(new Uint8Array(res)); if(ret.code == 0) { - ElMessage.success(res.msg || '请求成功'); + ElMessage.success(res.message || '请求成功'); ctx.emit("dialogSuccess"); } else { - ElMessage.error(res.msg); + ElMessage.error(res.message); } } else { } diff --git a/src/components/AddSet.vue b/src/components/AddSet.vue index b0c044a..d9c9dbb 100644 --- a/src/components/AddSet.vue +++ b/src/components/AddSet.vue @@ -2,20 +2,19 @@ - + - + - +