23 lines
274 B
TypeScript
23 lines
274 B
TypeScript
const fleetCounts = reactive({
|
|
diaodu: {
|
|
todo: 0,
|
|
finished: 0,
|
|
total: 0,
|
|
},
|
|
})
|
|
|
|
const driverCounts = reactive({
|
|
jindu: {
|
|
todo: 0,
|
|
finished: 0,
|
|
total: 0,
|
|
},
|
|
})
|
|
|
|
export function useCounts() {
|
|
return {
|
|
fleetCounts,
|
|
driverCounts,
|
|
}
|
|
}
|