mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
chore: Move open terminal in new tab to terminal component
This commit is contained in:
1 parent
ab4d06498a
commit
5b7bf0794c
12 files changed
+24
-19
No files matched your search
@@ -34,7 +34,7 @@ interface Store {
|
||||
quest: QuestDetailResponse | null
|
||||
}
|
||||
|
||||
const useSession = defineStore('session', {
|
||||
export const useSession = defineStore('session', {
|
||||
state: (): Store => ({
|
||||
session: null,
|
||||
questId: '',
|
||||
@@ -126,5 +126,3 @@ const useSession = defineStore('session', {
|
||||
export function useTerminal() {
|
||||
return term
|
||||
}
|
||||
|
||||
export default useSession
|
||||
Reference in new issue
Block a user