ソースを参照

change alert text

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
 
104
 
105
         if (this.info.AfterVote) {
105
         if (this.info.AfterVote) {
106
           this.$dialog
106
           this.$dialog
107
-            .alert({ title: "投票成功!", message: "恭喜您获得一次抽奖机会!" })
107
+            .alert({ title: '投票成功!', message: '恭喜您获得一次抽奖机会!', confirmButtonText: '立即前往' })
108
             .then(() => {
108
             .then(() => {
109
               window.location.href = this.info.AfterVote;
109
               window.location.href = this.info.AfterVote;
110
             });
110
             });
111
         } else {
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
         }).then(() => {
272
         }).then(() => {
273
           if (this.activity.AfterVote) {
273
           if (this.activity.AfterVote) {
274
             this.$dialog
274
             this.$dialog
275
-              .alert({ title: "投票成功!", message: "恭喜您获得一次抽奖机会!" })
275
+              .alert({ title: '投票成功!', message: '恭喜您获得一次抽奖机会!', confirmButtonText: '立即前往' })
276
               .then(() => {
276
               .then(() => {
277
                 window.location.href = this.activity.AfterVote;
277
                 window.location.href = this.activity.AfterVote;
278
               });
278
               });
279
           } else {
279
           } else {
280
-            this.$dialog.alert({ message: "投票成功!" });
280
+            this.$dialog.alert({ message: '投票成功!' });
281
           }
281
           }
282
         });
282
         });
283
       // });
283
       // });