export const warning = (str, callback = _ => {}, outCallback = () => {}) => { Modal.warning({ // onOk: callback, onOk: () => { callback(outCallback) }, title: '提示', content: str }) }