|
@@ -222,6 +222,10 @@ export default {
|
|
|
update() {
|
|
|
this.$refs.addItem.validate((valid, items) => {
|
|
|
if (valid) {
|
|
|
+ if(this.addData.dateValue[0] == this.addData.dateValue[1]){
|
|
|
+ this.msgError('活动开始时间与结束时间不能相等!')
|
|
|
+ return;
|
|
|
+ }
|
|
|
if(this.awardsList.length < 1) {
|
|
|
this.msgError('请至少设置一个奖级的的奖品!')
|
|
|
return;
|