Commit c5000615 by Sweet Zhang

客户打开没有欢迎页

parent 7b023406
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<body> <body>
<app-root> <app-root>
</app-root> </app-root>
<!-- <div class="loadingBox" id="loading" <!-- <div class="loadingBox" id="loading"
style="display: flex;justify-content: center;align-items: center;position: fixed;left:40%;top:40%;width:100%;height: 100%;"> style="display: flex;justify-content: center;align-items: center;position: fixed;left:40%;top:40%;width:100%;height: 100%;">
...@@ -129,6 +129,10 @@ ...@@ -129,6 +129,10 @@
let loading = document.getElementById("adv"); let loading = document.getElementById("adv");
loading.style.display = 'none'; loading.style.display = 'none';
} }
if(window.location.pathname == '/identify'){
let loading = document.getElementById("adv");
loading.style.display = 'none';
}
//用于去除alert的url //用于去除alert的url
window.alert = function (name) { window.alert = function (name) {
...@@ -172,7 +176,7 @@ ...@@ -172,7 +176,7 @@
} }
}) })
} }
// (function() { // (function() {
// if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") { // if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
...@@ -192,4 +196,4 @@ ...@@ -192,4 +196,4 @@
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment