chargeSet.ts 344 B

123456789101112131415
  1. import {defineStore} from 'pinia';
  2. import {ChargeSetVO} from '@/api/parameter/chargeSet/types';
  3. export const useChargeSetStore = defineStore('Set', () => {
  4. const chargeSetInfo = ref<ChargeSetVO>();
  5. const setChargeInfo = (val: ChargeSetVO) => {
  6. chargeSetInfo.value = val;
  7. };
  8. return {
  9. chargeSetInfo,
  10. setChargeInfo
  11. };
  12. });