mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-02 19:08:40 +08:00
This commit is contained in:
parent
b84cc5eb06
commit
8c607b38f1
@ -25,8 +25,8 @@ export function useNow(immediate = true) {
|
||||
|
||||
state.year = now.get('y');
|
||||
state.month = now.get('M') + 1;
|
||||
state.week = '星期' + ['一', '二', '三', '四', '五', '六', '日'][now.day() - 1];
|
||||
state.day = now.get('d');
|
||||
state.week = '星期' + ['日', '一', '二', '三', '四', '五', '六'][now.day()];
|
||||
state.day = now.get('date');
|
||||
state.hour = h;
|
||||
state.minute = m;
|
||||
state.second = s;
|
||||
|
Loading…
Reference in New Issue
Block a user