shijiplus-web-plugin 0.1.28 → 0.1.29
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
|
@@ -97,9 +97,10 @@ export default {
|
|
|
97
97
|
const startDate = new Date(searchForm.startDate || searchForm.startTime || "")
|
|
98
98
|
const endDate = new Date(searchForm.endDate || searchForm.startTime || "")
|
|
99
99
|
const oneMonthInMs = 31 * 24 * 60 * 60 * 1000 // 1 个月的毫秒数
|
|
100
|
-
|
|
100
|
+
|
|
101
|
+
if (!startDate || isNaN(startDate.getTime()) || !endDate || isNaN(endDate.getTime())) {
|
|
101
102
|
setTimeout(() => {
|
|
102
|
-
this.$Message.error('
|
|
103
|
+
this.$Message.error('请选择有效的导出开始和结束时间', 3)
|
|
103
104
|
}, 0)
|
|
104
105
|
return
|
|
105
106
|
}
|