ソースを参照

Merge branch 'feature/活动-邀请好友' of Software/android-cloud-H5 into develop

zengzhixiang 2 年 前
コミット
d6b1739943
共有2 個のファイルを変更した6 個の追加0 個の削除を含む
  1. 3 0
      Jenkinsfile
  2. 3 0
      pages/activity/invite-user/index.vue

+ 3 - 0
Jenkinsfile

@@ -7,6 +7,9 @@ pipeline {
   // environment{
   //   host = '172.17.1.22'
   // }
+  options{
+    disableConcurrentBuilds()
+  }
 
   triggers {
     GenericTrigger(

+ 3 - 0
pages/activity/invite-user/index.vue

@@ -172,6 +172,9 @@ export default {
         if (this.data.status === 2) {
           throw new Error('当前活动未开启');
         }
+        if (this.data.status === 3) {
+          throw new Error('当前活动已结束');
+        }
         throw new Error('未知活动状态');
       }