dayu/packages/core/public/index.js
MiaoWoo b497c9750e feat: update public
Signed-off-by: MiaoWoo <admin@yumc.pw>
2020-01-03 14:33:22 +08:00

9 lines
234 B
JavaScript

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