优化代码

This commit is contained in:
wuxw 2024-09-10 15:11:59 +08:00
parent ee84e4bbd1
commit 21f0565ff9
3 changed files with 5 additions and 5 deletions

View File

@ -15,10 +15,10 @@ const baseUrl = '/';
// #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址
const baseUrl = 'https://wuye.huilinwan.cn/';
const baseUrl = 'http://demo.homecommunity.cn/';
// #endif
let commonBaseUrl = 'https://wuye.huilinwan.cn/';
let commonBaseUrl = 'http://demo.homecommunity.cn/';
//商城的url
let mallUrl = 'https://mallapp.huilinwan.cn/';

View File

@ -80,12 +80,12 @@
"disableHostCheck" : true,
"proxy" : {
"/app" : {
"target" : "http://demo.homecommunity.cn/", //
"target" : "http://127.0.0.1:8008/", //
"changeOrigin" : true, //
"secure" : true // https
},
"/callComponent" : {
"target" : "http://demo.homecommunity.cn/", //
"target" : "http://127.0.0.1:8008/", //
"changeOrigin" : true, //
"secure" : true // https
}

View File

@ -23,7 +23,7 @@
</view>
<view class="cu-bar bg-white justify-end">
<view class="action margin-0 flex-sub solid-left" @tap="_cancleOpenDoor()">取消</view>
<view class="action margin-0 flex-sub solid-left" v-if="curMachine.monitorId" @tap="_viewDoorVideo()">视频</view>
<view class="action margin-0 flex-sub solid-left" v-if="curMachine.monitorId && curMachine.monitorId != '-1'" @tap="_viewDoorVideo()">视频</view>
<view class="action margin-0 flex-sub text-green solid-left" @tap="_doOpenDoor()">确认开门</view>
</view>
</view>