|
@@ -28,7 +28,7 @@ import { showMeasuresStack, showTaggingsStack } from '@/env'
|
|
|
import { useViewStack } from '@/hook'
|
|
|
import { diffArrayChange, togetherCallback } from '@/utils'
|
|
|
import { RecordProcess } from './help'
|
|
|
-import { records, createRecord, Record, RecordStatus, autoSaveRecords, initialRecords, getRecordFragmentBlobs, isTemploraryID } from '@/store'
|
|
|
+import { records, createRecord, Record, RecordStatus, autoSaveRecords, initialRecords, getRecordFragmentBlobs, isTemploraryID, initialTaggingStyles } from '@/store'
|
|
|
import { RightFillPano } from '@/layout'
|
|
|
import Draggable from 'vuedraggable'
|
|
|
import Sign from './sign.vue'
|
|
@@ -38,6 +38,7 @@ import { initialMeasures } from '@/store/measure'
|
|
|
import { initialGuides } from '@/store/guide'
|
|
|
|
|
|
initialRecords()
|
|
|
+initialTaggingStyles()
|
|
|
initialTaggings()
|
|
|
initialMeasures()
|
|
|
initialGuides()
|
|
@@ -78,10 +79,10 @@ watch(setting, (setting, oldSetting = [], onCleanup) => {
|
|
|
}, { flush: 'sync' })
|
|
|
|
|
|
useViewStack(() => {
|
|
|
- const pop = showTaggingsStack.push(ref(false))
|
|
|
+ // const pop = showTaggingsStack.push(ref(false))
|
|
|
return () => {
|
|
|
setting.value = []
|
|
|
- pop()
|
|
|
+ // pop()
|
|
|
}
|
|
|
})
|
|
|
useViewStack(autoSaveRecords)
|