正在显示
2 个修改的文件
包含
9 行增加
和
4 行删除
| ... | @@ -83,6 +83,11 @@ export default { | ... | @@ -83,6 +83,11 @@ export default { |
| 83 | type: 'success' | 83 | type: 'success' |
| 84 | }); | 84 | }); |
| 85 | }) | 85 | }) |
| 86 | + // const data = { | ||
| 87 | + // title:'发生致命错误', | ||
| 88 | + // message:'?' | ||
| 89 | + // } | ||
| 90 | + // api.ErrorMessageBox(dialog,data) | ||
| 86 | }, | 91 | }, |
| 87 | } | 92 | } |
| 88 | }; | 93 | }; | ... | ... |
| ... | @@ -36,9 +36,9 @@ export default { | ... | @@ -36,9 +36,9 @@ export default { |
| 36 | * @feature 错误消息弹窗 | 36 | * @feature 错误消息弹窗 |
| 37 | */ | 37 | */ |
| 38 | ErrorMessageBox(dialog, data) { | 38 | ErrorMessageBox(dialog, data) { |
| 39 | - return dialog.showErrorBox({ | 39 | + return dialog.showErrorBox( |
| 40 | - title: data.title, | 40 | + data.title, |
| 41 | - content: data.message | 41 | + data.message |
| 42 | - }) | 42 | + ) |
| 43 | } | 43 | } |
| 44 | } | 44 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
请 注册 或 登录 后发表评论