mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
Bug Fixed: minimal-ui undefined (#4436)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user