umbrella22

添加错误弹窗

......@@ -83,6 +83,11 @@ export default {
type: 'success'
});
})
// const data = {
// title:'发生致命错误',
// message:'?'
// }
// api.ErrorMessageBox(dialog,data)
},
}
};
......
......@@ -36,9 +36,9 @@ export default {
* @feature 错误消息弹窗
*/
ErrorMessageBox(dialog, data) {
return dialog.showErrorBox({
title: data.title,
content: data.message
})
return dialog.showErrorBox(
data.title,
data.message
)
}
}
\ No newline at end of file
......