schangxiang@126.com
2025-05-13 7bf91c71dca50d1e67bf203822ed0d36054509fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { reactive } from 'vue'
 
type State = {
  init: boolean
  /**
   * 配置栏当前选中项,选中项展开,未选中项折叠
   * */
  SettingItemModel: string | string[]
  // 手风琴效果
  accordion: boolean
}
export const state = reactive<State>({
  init: true,
  SettingItemModel: '',
  accordion: false,
})