瀏覽代碼

debug mshop

stanley-king 7 年之前
父節點
當前提交
19cafe0aff

文件差異過大導致無法顯示
+ 1 - 1
dist/index.html


文件差異過大導致無法顯示
+ 2 - 0
dist/mshop/js/app.6c65da8ff339ec6de14e.js


文件差異過大導致無法顯示
+ 1 - 0
dist/mshop/js/app.6c65da8ff339ec6de14e.js.map


文件差異過大導致無法顯示
+ 0 - 2
dist/mshop/js/app.c11955e46db02ad9df9f.js


文件差異過大導致無法顯示
+ 0 - 1
dist/mshop/js/app.c11955e46db02ad9df9f.js.map


文件差異過大導致無法顯示
+ 2 - 2
dist/mshop/js/manifest.e4e546656427f5e9631f.js


文件差異過大導致無法顯示
+ 1 - 1
dist/mshop/js/manifest.e4e546656427f5e9631f.js.map


+ 16 - 14
src/lib/api.js

@@ -155,20 +155,22 @@ class Api
     }
     static create_share(data,href)
     {
-        if(mobile.iOS())
-        {
-            if(gWxShare == null) {
-                gWxShare = new WechatShare(data,href);
-            } else {
-                alert("gWxShare.register");
-                gWxShare.register(data);
-            }
-            return gWxShare;
-        }
-        else
-        {
-            return new WechatShare(data,href);
-        }
+        return new WechatShare(data,href);
+
+        // if(mobile.iOS())
+        // {
+        //     if(gWxShare == null) {
+        //         gWxShare = new WechatShare(data,href);
+        //     } else {
+        //         alert("gWxShare.register");
+        //         gWxShare.register(data);
+        //     }
+        //     return gWxShare;
+        // }
+        // else
+        // {
+        //     return new WechatShare(data,href);
+        // }
     }
 
     static sign_url(href)