Browse Source

bug修复

sa 6 years ago
parent
commit
64aaaa1aa1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/Script/QQCommon.js

+ 1 - 1
assets/Script/QQCommon.js

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