Browse Source

进入H5页面时,参数,蜂鸟接口异常进行提示

yunxing 4 years ago
parent
commit
221dfde17e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/App.vue

+ 2 - 2
src/App.vue

@@ -119,7 +119,7 @@ export default {
             // 路径无参数,不执行后续逻辑
             if(!this.urlFlag){
                 this.loadComplete = true
-                // Toast.fail('参数错误!')
+                Toast.fail('参数错误!')
                 return
             }
             this.SETHAVEFENGMAP(false)
@@ -174,7 +174,7 @@ export default {
             }).catch(error=>{
                 console.log('蜂鸟接口异常!')
                 this.loadComplete = true
-                // Toast.fail('平面图加载失败!')
+                Toast.fail('平面图加载失败!')
             })
             // 加载底图
             this.getfmapID().then(() => {