|
|
@ -2,7 +2,7 @@ import { getActivePinia } from 'pinia' |
|
|
|
import type { Actions, AppInfo, State } from './types' |
|
|
|
import type { Actions, AppInfo, State } from './types' |
|
|
|
import type { NcProjectType } from '#imports' |
|
|
|
import type { NcProjectType } from '#imports' |
|
|
|
import { message, useNuxtApp } from '#imports' |
|
|
|
import { message, useNuxtApp } from '#imports' |
|
|
|
import { navigateTo } from '#app' |
|
|
|
import { navigateTo } from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
export function useGlobalActions(state: State): Actions { |
|
|
|
export function useGlobalActions(state: State): Actions { |
|
|
|
const setIsMobileMode = (isMobileMode: boolean) => { |
|
|
|
const setIsMobileMode = (isMobileMode: boolean) => { |
|
|
|