Commit d98ad4b1 authored by 英思-陈欢's avatar 英思-陈欢

提示优化

parent 5513f630
......@@ -52,8 +52,8 @@ class Request {
resolve(responseOnFulfilled?.(result) || result);
} else {
xma.showModal({
title: '请求出错',
content: result.data ? result.data.msg : result.msg ? result.msg : JSON.stringify(result),
title: '温馨提示',
content: result.data ? result.data.msg : result.msg ? (result.msg == '失败' ? '暂无数据' : result.msg) : JSON.stringify(result),
showCancel: false,
confirmText: '关闭'
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment