riku
2025-03-14 8372d022614a1897120802cf1bac90d61651177f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { ref } from 'vue';
import { defineStore } from 'pinia';
 
export const useGridStore = defineStore('grid', () => {
  // 网格控制类集合
  const gridClzList = ref([]);
 
  const selectedSatelliteProxy = undefined;
 
  const selectedGridCellAndDataDetail = ref(undefined);
 
  function pushGridClz(clz) {
    gridClzList.value.push(clz);
  }
 
  return {
    gridClzList,
    selectedSatelliteProxy,
    selectedGridCellAndDataDetail,
    pushGridClz
  };
});