feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import lunarUtils from './src/utils/lunarUtils'
|
||||
|
||||
const testDates = [
|
||||
{ year: 2025, month: 1, day: 28 },
|
||||
{ year: 2025, month: 1, day: 29 },
|
||||
{ year: 2025, month: 1, day: 30 },
|
||||
{ year: 2026, month: 2, day: 16 },
|
||||
{ year: 2026, month: 2, day: 17 },
|
||||
{ year: 2026, month: 2, day: 18 }
|
||||
]
|
||||
|
||||
console.log('=== 农历年切换测试 ===')
|
||||
testDates.forEach(date => {
|
||||
const lunarDate = lunarUtils.solarToLunar(date.year, date.month, date.day)
|
||||
console.log(`${date.year}-${date.month}-${date.day} => ${lunarDate.yearStr} ${lunarDate.monthStr}${lunarDate.dayStr}`)
|
||||
})
|
||||
Reference in New Issue
Block a user