[mod]
This commit is contained in:
9
assets/Script/webview.ts
Normal file
9
assets/Script/webview.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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;
|
||||
}
|
||||
}
|
9
assets/Script/webview.ts.meta
Normal file
9
assets/Script/webview.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.8",
|
||||
"uuid": "e1b90feb-a217-4493-849d-9a611900d683",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
Reference in New Issue
Block a user