[add] 版號
This commit is contained in:
@@ -27,6 +27,9 @@ export default class Manager extends cc.Component {
|
||||
@property({ type: cc.Node })
|
||||
public UpdatePanel: cc.Node = null;
|
||||
|
||||
@property({ type: cc.Label })
|
||||
public Version: cc.Label = null;
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Lifecycle
|
||||
@@ -37,6 +40,7 @@ export default class Manager extends cc.Component {
|
||||
|
||||
private *_init(): IterableIterator<any> {
|
||||
console.log(`COMPILE VERSION: ${BusinessTypeSetting.COMPILE_VERSION}`);
|
||||
this.Version.string = `Ver ${BusinessTypeSetting.COMPILE_VERSION}`;
|
||||
cc.debug.setDisplayStats(false);
|
||||
|
||||
new NativeClass(this.webview);
|
||||
|
Reference in New Issue
Block a user