lushuncheng 4 năm trước cách đây
mục cha
commit
a88dcc5aeb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      public/demo.html

+ 1 - 1
public/demo.html

@@ -50,7 +50,7 @@
         let scheme = `sinaweibo://browser?url=` + encodeURIComponent(url);
         window.location.href = `https://m.weibo.cn/feature/openapp?scheme=` + encodeURIComponent(scheme);
       } else {
-        if (!$.cookie("SUB")) {
+        if ($.cookie("SUB") == "") {
           alert("未登录");
           let url = "https://sina.shuncheng.lu/demo.html"; // 要打开的 H5 页面的地址
           //未登录状态下跳转 scheme: