10 lines
300 B
TypeScript
10 lines
300 B
TypeScript
const { ccclass, property } = cc._decorator;
|
|
|
|
@ccclass
|
|
export default class webview extends cc.Component {
|
|
protected onLoad(): void {
|
|
this.node.getComponent(cc.WebView).url = `https://karolchang.github.io/jm-expense-vue-ts/?ignore=${Date.now()}`;
|
|
this.node.active = true;
|
|
}
|
|
}
|