fix: 优化定制消息
This commit is contained in:
parent
a1472fd23d
commit
a177f03648
16
index.html
16
index.html
|
@ -281,13 +281,15 @@
|
||||||
|
|
||||||
/* 获取定制消息 */
|
/* 获取定制消息 */
|
||||||
getMessage(plan_id) {
|
getMessage(plan_id) {
|
||||||
req.axiosGet(`/client/plan/${plan_id}/result_message`).then(res => {
|
if (plan_id) {
|
||||||
if (res.code == 200) {
|
req.axiosGet(`/client/plan/${plan_id}/result_message`).then(res => {
|
||||||
sessionStorage.setItem('message', JSON.stringify(res.data));
|
if (res.code == 200) {
|
||||||
} else {
|
sessionStorage.setItem('message', JSON.stringify(res.data));
|
||||||
self.openErrorDialog(res.message);
|
} else {
|
||||||
}
|
self.openErrorDialog(res.message);
|
||||||
}).catch(err => { });
|
}
|
||||||
|
}).catch(err => { });
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//获取白名单验证码
|
//获取白名单验证码
|
||||||
|
|
Loading…
Reference in New Issue