flush -- WIP admin panel

This commit is contained in:
Tony Yang
2019-05-30 14:18:07 +08:00
parent 75af7df7b4
commit 84fb4180c9
53 changed files with 9104 additions and 2 deletions

17
admin/component/user.js Normal file
View File

@@ -0,0 +1,17 @@
(() => {
function create(tag) {
return document.createElement(tag);
}
pageManager.register("user", function () {
return {
render: function (...args) {
pageManager.setHeader("使用者");
setTimeout(() => {
pageManager.document.innerHTML = args[0];
pageManager.setLoaderState(false)
}, 500);
}
}
});
})();