Browse Source

Merge branch 'qqplay-1.0' of http://svn.ouj.com:3000/DWG/budingGame into qqplay-1.0

Roy 5 năm trước cách đây
mục cha
commit
d1c30ec2bf
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      assets/Script/QQCommon.js

+ 3 - 1
assets/Script/QQCommon.js

@@ -4,7 +4,7 @@ class QQCommon {
 	}
 
 	static getInstance() {
-        if (!QQCommon.instance && CC_WECHATGAME) {
+        if (!QQCommon.instance && CC_QQPLAY) {
             QQCommon.instance = new QQCommon();
         }
         return QQCommon.instance;
@@ -37,3 +37,5 @@ class QQCommon {
 		return systemInfo;
 	}
 }
+
+module.exports = QQCommon.getInstance();