feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import lunarUtils from './src/utils/lunarUtils'
|
||||
|
||||
const today = new Date(2026, 0, 20)
|
||||
const lunarDate = lunarUtils.solarToLunar(
|
||||
today.getFullYear(),
|
||||
today.getMonth() + 1,
|
||||
today.getDate()
|
||||
)
|
||||
|
||||
console.log('公历日期:', today.toISOString().split('T')[0])
|
||||
console.log('农历日期:', lunarDate.yearStr, lunarDate.monthStr, lunarDate.dayStr)
|
||||
console.log('生肖:', lunarDate.zodiac.name)
|
||||
console.log('闰月:', lunarDate.isLeapMonth ? '是' : '否')
|
||||
Reference in New Issue
Block a user