mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
examples 添加 isCancel 实现
This commit is contained in:
parent
18fdfb1878
commit
712861958a
@ -105,6 +105,7 @@ export default function(schema) {
|
||||
|
||||
return axios[method](url, data, config);
|
||||
},
|
||||
isCancel: value => axios.isCancel(value),
|
||||
notify: (type, msg) => toast[type] ? toast[type](msg, type === 'error' ? '系统错误' : '系统消息') : console.warn('[Notify]', type, msg),
|
||||
alert,
|
||||
confirm,
|
||||
|
Loading…
Reference in New Issue
Block a user