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