This commit is contained in:
yangtao 2024-04-12 09:29:26 +08:00
parent a0b2421a19
commit 6166f3aacd
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@
<!-- <view class='num' :class='item.is_sgin ? "on" : ""'>+{{item.value.sign_integral}}</view> --> <!-- <view class='num' :class='item.is_sgin ? "on" : ""'>+{{item.value.sign_integral}}</view> -->
</view> </view>
</view> </view>
<button class='but b-color on' v-if="is_sign">已签到</button> <button class='but b-color on' v-if="is_sign" @click="closeBox">已签到</button>
<form @submit="goSign" report-submit='true' v-else> <form @submit="goSign" report-submit='true' v-else>
<button class='but b-color' :class="disabled ? 'disabled' : ''" formType="submit">立即签到</button> <button class='but b-color' :class="disabled ? 'disabled' : ''" formType="submit">立即签到</button>
</form> </form>
@ -114,6 +114,7 @@
methods: { methods: {
closeBox(){ closeBox(){
this.treasureShow=false; this.treasureShow=false;
this.$router.go(0)
}, },
// go(){ // go(){
// this.treasureShow=true; // this.treasureShow=true;