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;