Explorar el Código

事件定位清空data

qinhouyu hace 1 año
padre
commit
b1bc3b4646
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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() {  // 断开与插件服务连接成功