dayu/packages/core/public/index.js

9 lines
224 B
JavaScript
Raw Normal View History

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