mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 06:46:44 +08:00
【桂冠捐赠证书】new Date('2022-08'),当前时间改为8月
This commit is contained in:
@@ -79,7 +79,7 @@ export default {
|
|||||||
* @Date:2021-08-25
|
* @Date:2021-08-25
|
||||||
*/
|
*/
|
||||||
getCurrentDateFunc() {
|
getCurrentDateFunc() {
|
||||||
let date = new Date()
|
let date = new Date('2022-08')
|
||||||
let year = date.getFullYear()
|
let year = date.getFullYear()
|
||||||
let month = (date.getMonth() + 1) <= 9 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
|
let month = (date.getMonth() + 1) <= 9 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
|
||||||
return year + '-' + month
|
return year + '-' + month
|
||||||
|
|||||||
Reference in New Issue
Block a user