shijiplus-web-plugin 0.1.30 → 0.1.31

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shijiplus-web-plugin",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "files": [
5
5
  "src"
6
6
  ],
@@ -94,8 +94,8 @@ export default {
94
94
  let instance = null
95
95
  try {
96
96
  // 0. Validate the date range (limit to 1 month)
97
- const startDate = new Date(searchForm.startDate || searchForm.startTime || "")
98
- const endDate = new Date(searchForm.endDate || searchForm.startTime || "")
97
+ const startDate = new Date(searchForm.startDate || searchForm.startTime || searchForm.createdAtStart || "")
98
+ const endDate = new Date(searchForm.endDate || searchForm.endTime || searchForm.createdAtEnd || "")
99
99
  const oneMonthInMs = 31 * 24 * 60 * 60 * 1000 // 1 个月的毫秒数
100
100
 
101
101
  if (!startDate || isNaN(startDate.getTime()) || !endDate || isNaN(endDate.getTime())) {