670增加跳转至地图,修改mqtt.js,使用request中的环境配置
This commit is contained in:
@ -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};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user