feat: update public

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-01-03 14:33:22 +08:00
parent 49427a8dfc
commit b497c9750e
3 changed files with 4 additions and 3 deletions

View File

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