dayu/packages/core/public/index.js
MiaoWoo aed21b2ff6 feat: add amis jssdk page
Signed-off-by: MiaoWoo <admin@yumc.pw>
2019-12-25 15:41:27 +08:00

9 lines
224 B
JavaScript

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