浏览代码

事件定位清空data

qinhouyu 1 年之前
父节点
当前提交
b1bc3b4646
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/components/eventLocation.vue

+ 2 - 0
src/components/eventLocation.vue

@@ -656,6 +656,8 @@ export default {
     cancelEventLocationShow() {
       this.longitude=""
       this.latitude=""
+      this.cameraList=[]
+      this.eventList=[]
       if (this.oWebControl != null) {
         this.oWebControl.JS_HideWnd()   // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
         this.oWebControl.JS_Disconnect().then(function() {  // 断开与插件服务连接成功