This commit is contained in:
tengge1 2019-07-02 21:26:09 +08:00
parent 3ffbd449df
commit fd6878d8d0
2 changed files with 5 additions and 0 deletions

View File

@ -81,5 +81,6 @@ export { default as Tree } from './tree/Tree.jsx';
// window
export { default as Alert } from './window/Alert.jsx';
export { default as Confirm } from './window/Confirm.jsx';
export { default as Prompt } from './window/Prompt.jsx';
export { default as Toast } from './window/Toast.jsx';
export { default as Window } from './window/Window.jsx';

View File

@ -50,6 +50,10 @@ Application.prototype.toast = function (text) {
}, 5000);
};
Application.prototype.alert = function (text, callback) {
};
// ----------------------- 记录日志 --------------------------------
Application.prototype.log = function (content) { // 普通日志