Bug Fixed: minimal-ui undefined (#4436)

This commit is contained in:
ChiaNing
2019-05-16 18:14:20 +08:00
committed by Weiliang Wang
parent 2985392d34
commit 84764c5ded
+3 -3
View File
@@ -37,11 +37,11 @@ class BrowserGetter {
public html: HTMLHtmlElement | undefined;
public meta!: {
'width': 'device-width';
public meta = {
width: 'device-width',
};
public adaptationType: any;
public adaptationType: any = cc.sys.browserType;
public init () {
if (!CC_WECHATGAME && !CC_QQPLAY) {