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 @@ - + - + - +