| 123456789101112131415 |
- let eventGuid = 0;
- // let todayStr = new Date().toISOString().replace(/T.*$/, '') // YYYY-MM-DD of today
- export const INITIAL_EVENTS = [
- // {
- // id: createEventId(),
- // title: '点击日历格添加',
- // start: todayStr
- // },
- ];
- export function createEventId() {
- return String(eventGuid++);
- }
|