时间组件缓存提取出来
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
import { defineStore } from 'pinia'
|
||||
import { RouteLocationNormalizedLoaded } from 'vue-router'
|
||||
|
||||
// 时间组件的缓存值 用于驾驶舱放大的时候和内部的时间组件同步
|
||||
interface TimeCacheState {
|
||||
cache: Map<string, {
|
||||
interval: number | undefined
|
||||
timeValue: any
|
||||
interval: number | undefined // 时间组件的月份、年份、时间、时间格式的缓存值
|
||||
timeValue: any // 时间组件的值
|
||||
}>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user