mirror of
https://github.com/lanyeeee/bilibili-video-downloader.git
synced 2026-09-09 09:36:46 +08:00
feat: 视频搜索
This commit is contained in:
+3
-1
@@ -1,10 +1,12 @@
|
||||
import { defineStore } from 'pinia'
|
||||
import { ref } from 'vue'
|
||||
import { Config, UserInfo } from './bindings.ts'
|
||||
import { CurrentNavName } from './AppContent.vue'
|
||||
|
||||
export const useStore = defineStore('store', () => {
|
||||
const config = ref<Config>()
|
||||
const userInfo = ref<UserInfo>()
|
||||
const currentNavName = ref<CurrentNavName>('search')
|
||||
|
||||
return { config, userInfo }
|
||||
return { config, userInfo, currentNavName }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user