zjxpcyc пре 6 година
родитељ
комит
38bd7bb421
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 2
    2
      src/views/vote/detail.vue
  2. 2
    2
      src/views/vote/list.vue

+ 2
- 2
src/views/vote/detail.vue Прегледај датотеку

@@ -104,12 +104,12 @@ export default {
104 104
 
105 105
         if (this.info.AfterVote) {
106 106
           this.$dialog
107
-            .alert({ title: "投票成功!", message: "恭喜您获得一次抽奖机会!" })
107
+            .alert({ title: '投票成功!', message: '恭喜您获得一次抽奖机会!', confirmButtonText: '立即前往' })
108 108
             .then(() => {
109 109
               window.location.href = this.info.AfterVote;
110 110
             });
111 111
         } else {
112
-          this.$dialog.alert({ message: "投票成功!" });
112
+          this.$dialog.alert({ message: '投票成功!' });
113 113
         }
114 114
 
115 115
       })

+ 2
- 2
src/views/vote/list.vue Прегледај датотеку

@@ -272,12 +272,12 @@ export default {
272 272
         }).then(() => {
273 273
           if (this.activity.AfterVote) {
274 274
             this.$dialog
275
-              .alert({ title: "投票成功!", message: "恭喜您获得一次抽奖机会!" })
275
+              .alert({ title: '投票成功!', message: '恭喜您获得一次抽奖机会!', confirmButtonText: '立即前往' })
276 276
               .then(() => {
277 277
                 window.location.href = this.activity.AfterVote;
278 278
               });
279 279
           } else {
280
-            this.$dialog.alert({ message: "投票成功!" });
280
+            this.$dialog.alert({ message: '投票成功!' });
281 281
           }
282 282
         });
283 283
       // });