|
@@ -52,7 +52,7 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { HcDelMsg } from 'hc-vue3-ui'
|
|
|
-import { onActivated, ref } from 'vue'
|
|
|
+import { onActivated, onDeactivated, ref } from 'vue'
|
|
|
import { getDictionaryData } from '~uti/tools'
|
|
|
import { arrToId, deepClone, formValidate, getArrValue, isNullES } from 'js-fast-way'
|
|
|
import HcClearTemplate from './excel/template.vue'
|
|
@@ -205,8 +205,10 @@ const elementRecognition = (row) => {
|
|
|
rowElementInfo.value = row
|
|
|
isElementShow.value = true
|
|
|
}
|
|
|
-</script>
|
|
|
-
|
|
|
-<style lang="scss">
|
|
|
|
|
|
-</style>
|
|
|
+//离开了当前页面
|
|
|
+onDeactivated(() => {
|
|
|
+ isRowTempShow.value = false
|
|
|
+ isElementShow.value = false
|
|
|
+})
|
|
|
+</script>
|