wenhongquan 3 years ago
parent
commit
439b254ebf
2 changed files with 4 additions and 2 deletions
  1. 1 1
      .env.production
  2. 3 1
      src/components/map/index.vue

+ 1 - 1
.env.production

@@ -5,4 +5,4 @@ VUE_APP_TITLE = 若依管理系统
 ENV = 'production'
 
 # 若依管理系统/生产环境
-VUE_APP_BASE_API = 'http://qdtlbg.xt.wenhq.top:8083/'
+VUE_APP_BASE_API = 'http://localhost:8080/'

+ 3 - 1
src/components/map/index.vue

@@ -22,7 +22,6 @@
       v-if="dialogVisible"
       width="50%"
       :before-close="handleClose"
-      @before-appear="handleOpen"
       >
          <div style="width:100%;height:60rem;position:relative">
            <videodiv :cameracode="ccode" style="width:100%;height:100%;position:absolute;top:0;left:0"></videodiv>
@@ -133,6 +132,9 @@ export default {
                          console.log(that.ccode);
                          window.cameraid = that.ccode;
                          that.dialogVisible = true
+                         setTimeout(() => {
+                           that.handleOpen()
+                         }, 1000);
                     }
                     //含有lnglat 参数的点标记触发事件
                 }