Browse Source

feat: 202402配置接口改为同步请求

cuiyalong 1 năm trước cách đây
mục cha
commit
b6c7c4533b

+ 1 - 0
src/web/staticres/common-module/active/202402/202402.js

@@ -387,6 +387,7 @@ var task = new Vue({
       $.ajax({
       $.ajax({
         url: '/publicapply/activity/day/info',
         url: '/publicapply/activity/day/info',
         type: 'post',
         type: 'post',
+        async: false,
         data: {
         data: {
           id: this.activityId
           id: this.activityId
         },
         },

+ 1 - 0
src/web/staticres/frontRouter/pc/activity/js/202402.js

@@ -332,6 +332,7 @@ var task = new Vue({
       $.ajax({
       $.ajax({
         url: '/publicapply/activity/day/info',
         url: '/publicapply/activity/day/info',
         type: 'post',
         type: 'post',
+        async: false,
         data: {
         data: {
           id: this.activityId
           id: this.activityId
         },
         },