670增加跳转至地图,修改mqtt.js,使用request中的环境配置

This commit is contained in:
liub
2025-09-24 10:18:31 +08:00
parent ab696c3076
commit 8a54aa85d1
6 changed files with 67 additions and 16 deletions

View File

@ -5,6 +5,9 @@ export const showLoading = (ev,options) => {
if(!ev){
return;
}
if(!ev.$refs.loading){
return;
}
let defaultTxt="请稍候...";
if(!options){
options={text:defaultTxt};
@ -23,6 +26,9 @@ export const hideLoading = (ev) => {
if(!ev){
return;
}
if(!ev.$refs.loading){
return;
}
ev.$refs.loading.hide();
@ -34,6 +40,9 @@ export const updateLoading = (ev,options) => {
if(!ev){
return;
}
if(!ev.$refs.loading){
return;
}
if(!options){
options={a:1};
}