feat: add amis jssdk page

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-12-25 15:41:27 +08:00
parent cabf6cf613
commit aed21b2ff6
27 changed files with 522 additions and 66 deletions

View File

@@ -0,0 +1,8 @@
(async function() {
var amis = amisRequire('amis/embed');
let page = window.location.hash.substring(1);
amis.embed('#root', {
type: "service",
schemaApi: "get:/page/manager/" + page
});
})();