mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-06 20:42:57 +08:00
✨ Feature(custom): tab state of pre-process page is persistent
This commit is contained in:
@@ -1053,6 +1053,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useStorage } from '@vueuse/core'
|
||||
import {
|
||||
Droplets,
|
||||
Edit,
|
||||
@@ -1084,7 +1085,7 @@ import { getConfig, saveConfig } from '@/utils/dataSender'
|
||||
|
||||
const { t } = useI18n()
|
||||
const message = useMessage()
|
||||
const activeTab = ref('general')
|
||||
const activeTab = useStorage<string>('image-process-setting-active-tab', 'general')
|
||||
|
||||
// Tab indicator animation
|
||||
const tabRefs = useTemplateRef('tabRefs')
|
||||
|
||||
Reference in New Issue
Block a user