|
@@ -739,7 +739,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { yesOrNo, haveOrNot, searchMethods, autopsies, initShowDel, filterDismissStatus, clone } from './common'
|
|
|
-import { computed, onMounted, reactive, ref, watchEffect } from 'vue'
|
|
|
+import { computed, onActivated, onMounted, reactive, ref, watchEffect } from 'vue'
|
|
|
import store from '@/store'
|
|
|
import { operations } from '@/data/index'
|
|
|
import {
|
|
@@ -1457,8 +1457,12 @@ export default {
|
|
|
}
|
|
|
}, 100)
|
|
|
}
|
|
|
- onMounted(() => {
|
|
|
+
|
|
|
+ onActivated(() => {
|
|
|
initLodop()
|
|
|
+ })
|
|
|
+
|
|
|
+ onMounted(() => {
|
|
|
document.addEventListener('keydown', handleEvent)
|
|
|
getAllDictionary().then((res) => {
|
|
|
dics.value = res
|