Blame view

pinia/maintain.js 288 Bytes
7da61cdb   刘淇   养护计划
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  import { defineStore } from 'pinia'
  export const useMaintainStore = defineStore('maintain', {
    state() {
      return {
        planRawList: []
      }
    },
    actions: {
      setRawList(list) {
        this.planRawList = list 
      },
      clearRawList() {
        this.planRawList = []
      }
    }
  })