Add demo
This commit is contained in:
parent
298688269c
commit
396b128a2c
@ -13,6 +13,7 @@ import { HeaderBar } from "@Component/HeaderBar/HeaderBar";
|
||||
import { Popup } from "@Component/Popup/Popup";
|
||||
import { Entry } from "../Entry/Entry";
|
||||
import { Group } from "@Model/Group";
|
||||
import DEMO from "../demo";
|
||||
import "./SimulatorDesktop.scss";
|
||||
|
||||
initializeIcons("./font-icon/");
|
||||
@ -55,6 +56,10 @@ class SimulatorDesktop extends Component {
|
||||
})
|
||||
};
|
||||
|
||||
setTimeout(() => {
|
||||
this.status.archive.load(this.status.model, DEMO);
|
||||
}, 200);
|
||||
|
||||
(window as any).LT = {
|
||||
status: this.status,
|
||||
setting: this.setting
|
||||
|
@ -13,6 +13,7 @@ import { HeaderBar } from "@Component/HeaderBar/HeaderBar";
|
||||
import { Popup } from "@Component/Popup/Popup";
|
||||
import { Entry } from "../Entry/Entry";
|
||||
import { Group } from "@Model/Group";
|
||||
import DEMO from "../demo";
|
||||
import "./SimulatorWeb.scss";
|
||||
|
||||
initializeIcons("https://img.mrkbear.com/fabric-cdn-prod_20210407.001/");
|
||||
@ -154,6 +155,10 @@ class SimulatorWeb extends Component {
|
||||
}, 200)
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
this.status.archive.load(this.status.model, DEMO);
|
||||
}, 200);
|
||||
|
||||
(window as any).LT = {
|
||||
status: this.status,
|
||||
setting: this.setting
|
||||
|
1
source/Page/demo.ts
Normal file
1
source/Page/demo.ts
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user