内网部署
This commit is contained in:
@@ -280,8 +280,8 @@
|
||||
// updateChartHistoryFromServer
|
||||
},
|
||||
onShow() {
|
||||
const hd_gps_location = localStorage.getItem("hd_gps_location")
|
||||
if (hd_gps_location != null) {
|
||||
const client = localStorage.getItem("client")
|
||||
if (client == "app") {
|
||||
this.isMobile = true
|
||||
}
|
||||
// TODO PC开发
|
||||
|
||||
@@ -65,6 +65,12 @@
|
||||
// // 监听接收聊天信息
|
||||
uni.$on('onP2PMessage', this.onMessage)
|
||||
|
||||
//
|
||||
if (options.client) {
|
||||
uni.setStorageSync("client", options.client)
|
||||
}
|
||||
|
||||
|
||||
if (options.imUserSign) {
|
||||
uni.showLoading({
|
||||
title: "数据加载中...",
|
||||
|
||||
Reference in New Issue
Block a user