|
|
@@ -38,7 +38,7 @@
|
|
|
<script>
|
|
|
import Dialog from '/@/components/Dialog/index.vue';
|
|
|
import mapDialog from '/@/components/Dialog/mapDialog.vue';
|
|
|
-import { defineComponent, ref, watch } from 'vue';
|
|
|
+import { defineComponent, ref, watch,onBeforeUnmount } from 'vue';
|
|
|
import jquery from 'jquery';
|
|
|
import Curve from './Curve.vue';
|
|
|
import BasicInformation from '/@/views/map/EngineeringModel/index.vue';
|
|
|
@@ -519,6 +519,9 @@ export default defineComponent({
|
|
|
});
|
|
|
}
|
|
|
);
|
|
|
+ onBeforeUnmount(() => {
|
|
|
+ window.impointInterval&&clearInterval(window.impointInterval)
|
|
|
+ });
|
|
|
return {
|
|
|
mapStore,
|
|
|
dialogvisable,
|