绂佹鍑哄井淇℃祻瑙堝櫒浠ュ鐨勬祻瑙堝櫒杩涘叆椤甸潰
(function() {
var useragent = navigator.userAgent;
if (useragent.match(/MicroMessenger/i) != "MicroMessenger") {
// window.location.href = "wxError.html";//鑻ヤ笉鏄井淇℃祻瑙堝櫒锛岃烦杞埌娓╅Θerror椤甸潰
let body = `<div>
<div>
<i></i>
</div>
<div>
<h4>璇峰湪寰俊瀹㈡埛绔墦寮€閾炬帴</h4>
</div>
</div>`;
let head = `<title>鎶辨瓑锛屽嚭閿欎簡</title>
<meta charset="utf-8">
<meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="https://res.wx.qq.com/open/libs/weui/0.4.1/weui.css">`;
document.head.innerHTML = head;
document.body.innerHTML = body;
}
})();
銆€銆€鍦╝pp.vue鏂囦欢涓殑create涓啓涓婅繖涓?/p>
绂佹鍑哄井淇℃祻瑙堝櫒浠ュ鐨勬祻瑙堝櫒杩涘叆椤甸潰
鍘熸枃锛歨ttps://www.cnblogs.com/wang-xx/p/13182824.html