|
|
@@ -31,7 +31,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { homeData,submitAnswer } from "@/api/allApi";
|
|
|
+import { homeData,MidAutumnSignIn } from "@/api/allApi";
|
|
|
import SiderInfo from '@/components/SiderInfo.vue';
|
|
|
export default{
|
|
|
components: {
|
|
|
@@ -59,13 +59,15 @@ export default{
|
|
|
homeData({actId:this.actId}).then(response=>{
|
|
|
console.log(response.data.data);
|
|
|
this.rule = response.data.data.rule;
|
|
|
+ }).catch(err => {
|
|
|
+ console.log(err)
|
|
|
})
|
|
|
},
|
|
|
clickAnswer(){
|
|
|
- // submitAnswer({actId:this.actId}).then(response=>{
|
|
|
+ MidAutumnSignIn({actId:this.actId}).then(response=>{
|
|
|
this.isDim = true;
|
|
|
this.isConfirmWrapper = true;
|
|
|
- // })
|
|
|
+ })
|
|
|
},
|
|
|
clickRuleWrapper(){
|
|
|
this.isDim = true;
|