diff --git a/packages/3.0.0/AppVillageActivity/components/Add.vue b/packages/3.0.0/AppVillageActivity/components/Add.vue
index 19c8da86..99febe81 100644
--- a/packages/3.0.0/AppVillageActivity/components/Add.vue
+++ b/packages/3.0.0/AppVillageActivity/components/Add.vue
@@ -46,7 +46,7 @@
-
+
{
if (valid) {
+ const nowTime = new Date().getTime()
+ const beginTime = new Date(this.form.beginTime).getTime()
+ const endTime = new Date(this.form.endTime).getTime()
+
+ if (beginTime < nowTime) {
+ return this.$message.error('活动开始时间不能早于当前时间')
+ }
+ if (endTime < beginTime) {
+ return this.$message.error('活动结束时间不能早于活动开始时间')
+ }
+
this.instance.post(`/app/appvillageactivityinfo/addOrUpdate`, {
...this.form,
url: this.form.url.length ? JSON.stringify([{