1. 程式人生 > >判斷是在企業微信打開 還是 在瀏覽器打開

判斷是在企業微信打開 還是 在瀏覽器打開

企業微信 code browser class bsp div 企業 pan clas

if (this.is_weixin()) {
    this.qixin = true
    this.browser = false
} else {
    this.qixin = false
    this.browser = true
}

判斷是在企業微信打開 還是 在瀏覽器打開