jufubao-base 1.0.290-beta1 → 1.0.290-beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
},
|
|
514
514
|
getYearAndMonth(dateStr) {
|
|
515
515
|
// 将输入的日期字符串转换为Date对象
|
|
516
|
-
const date = new Date(
|
|
516
|
+
const date = new Date(this.convertDateFormat(dateStr));
|
|
517
517
|
|
|
518
518
|
// 获取年份和月份
|
|
519
519
|
const year = date.getFullYear();
|