JM_KA/assets/Script/Manager.ts
2021-12-28 23:37:22 +08:00

21 lines
449 B
TypeScript

const { ccclass, property } = cc._decorator;
@ccclass
export default class Manager extends cc.Component {
//#region 外調參數
@property({ type: cc.WebView })
public webview: cc.WebView = null
//#endregion
//#region Lifecycle
protected onLoad(): void {
this.webview.url = `https://karolchang.github.io/jm-expense-vue-ts/?ignore=${Date.now()}`;
this.webview.node.active = true
}
//#endregion
}