Browse Source

恢复代码,放弃ios自动播放

孙志雷 6 years ago
parent
commit
cd8d1e43fa
1 changed files with 3 additions and 2 deletions
  1. 3 2
      index.html

+ 3 - 2
index.html

@@ -28,8 +28,9 @@
                 //alert(JSON.stringify(userData.data))
                 localStorage.setItem('userData', JSON.stringify(userData.data));
             },
-            error: function () {
-                //alert('已失效,请重新打开')
+            error: function (e) {
+                alert(e);
+                alert('已失效,请重新打开')
             }
         });
     </script>