基质喷涂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
386 B

  1. import { defineStore } from "pinia";
  2. import { ref } from "vue";
  3. import * as R from "ramda";
  4. import type { MatrixItem } from "@/services/matrix/type";
  5. export const useSettingStore = defineStore("setting", () => {
  6. const matrixList = ref<MatrixItem[]>([]);
  7. const setMatrixList = (data: MatrixItem[]) => {
  8. matrixList.value = data;
  9. };
  10. return {
  11. matrixList,
  12. setMatrixList,
  13. };
  14. });