提交 b770bdac 编写于 作者: Cano1997's avatar Cano1997

update: html请求票证提示调整

上级 15418f7a
...@@ -31,12 +31,14 @@ export const HtmlView = defineComponent({ ...@@ -31,12 +31,14 @@ export const HtmlView = defineComponent({
.post('/sygw/ticket', params) .post('/sygw/ticket', params)
.then(res => { .then(res => {
const data = res.data; const data = res.data;
// code为000000表示成功
if (data.resultCode === '000000') { if (data.resultCode === '000000') {
url.value = StringUtil.fill(url.value, c.context, data); url.value = StringUtil.fill(url.value, c.context, data);
} } else {
ibiz.notification.error({ ibiz.notification.error({
title: data.resultDesc, title: data.resultDesc,
}); });
}
}) })
.catch(error => { .catch(error => {
ibiz.notification.error({ ibiz.notification.error({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册