From adbe28f168a9844469d1f96ff4a304ef9ff0c53f Mon Sep 17 00:00:00 2001 From: tcubic <123456> Date: Tue, 2 Aug 2022 19:01:33 +0800 Subject: [PATCH] =?UTF-8?q?code=E9=AA=8C=E8=AF=813?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Index.vue | 3 ++- src/components/LuckyWheel.vue | 2 +- src/page/Home/Home.vue | 14 +++++++------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/Index.vue b/src/components/Index.vue index 40f42dc..e6ebb17 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -166,6 +166,7 @@ onBeforeMount(() => { getMyPrizeRecored(); getBrithday(); getActivityNum(); + getIsAddService() }); // 页面挂载后 @@ -281,7 +282,7 @@ const getMyPrizeRecored = ()=>{ const getIsAddService = ()=>{ let isInActivityDate = 0 service - .post(process.env.VUE_APP_API + "/cms-activity/cms88/qywx/isadded/"+ isInActivityDate) + .post(process.env.VUE_APP_API + "/cms-activity/cms88/qywx/isadded/"+ isInActivityDate,{}) .then((res) => { console.log("是否添加了企微",res); }); diff --git a/src/components/LuckyWheel.vue b/src/components/LuckyWheel.vue index 8f5e1bc..421b438 100644 --- a/src/components/LuckyWheel.vue +++ b/src/components/LuckyWheel.vue @@ -23,7 +23,7 @@
-