123456789101112131415161718192021 |
- import { reactive } from 'vue'
- const initialState = {
- step: 0,
- repairId: '',
- rightId: '',
- shop: null as any,
- periods: [] as any[],
- uiDate: '',
- uiPeriod: '',
- date: '',
- period: '',
- phoneNumber: '',
- remark: '',
- detail: null as any,
- }
- export const state = reactive({ ...initialState })
- export function resetState() {
- Object.assign(state, initialState)
- }
|