石墨消解仪
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.

14 lines
336 B

  1. import { defineStore } from 'pinia'
  2. import { ref } from 'vue'
  3. export const useSolutionStore = defineStore('solution', () => {
  4. const solutionList = ref<Solution.SolutionItem[]>([])
  5. const updateSolution = (list: Solution.SolutionItem[]) => {
  6. solutionList.value = list
  7. }
  8. return {
  9. solutionList,
  10. updateSolution,
  11. }
  12. })