流程再次大调整
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<u-parse :html="detail.ending"/>
|
||||
</AiGroup>
|
||||
<u-gap height="160"/>
|
||||
<weixin-login :autoShow="!user.token" content="投票需要您授权您的微信信息" @login="getList"/>
|
||||
<weixin-login :autoShow="!user.token||wxLogin" content="投票需要您授权您的微信信息" @login="getList"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -32,7 +32,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
detail: {},
|
||||
list: []
|
||||
list: [],
|
||||
wxLogin: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -59,7 +60,8 @@ export default {
|
||||
})
|
||||
},
|
||||
handleDetail(id) {
|
||||
uni.navigateTo({url: './voteDetail?id=' + id})
|
||||
if (!this.user.token) this.wxLogin = true
|
||||
else uni.navigateTo({url: './voteDetail?id=' + id})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user