From d739f0a0831ca1d7da4a58ddd4b7a81adbbea4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=96=87=E5=8F=AF?= <1041367524@qq.com> Date: Thu, 9 Jun 2022 17:42:25 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/config/orderConfig.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/modules/config/orderConfig.js b/src/store/modules/config/orderConfig.js index 3473f27..0905fbf 100644 --- a/src/store/modules/config/orderConfig.js +++ b/src/store/modules/config/orderConfig.js @@ -13,7 +13,9 @@ const actions = { }, update: async (context, data) => { let res = await api.update(data); - if (!res) { + if (res) { + ElMessage.success('保存订单配置成功'); + } else { ElMessage.error('保存订单配置失败'); } return res;