1234567891011121314151617 |
- import {
- defineStore
- } from 'pinia'
- export const useIdCardInfoStore = defineStore('idCardInfo', {
- state: () => {
- return {
- idCardInfo: []
- }
- },
- actions: {
- addIdCardInfo(info) {
- this.idCardInfo.push(info)
- }
- },
- unistorage: true
- })
|