This commit is contained in:
weipengfei 2024-05-09 09:35:27 +08:00
parent 3572565bb7
commit 438f2bc07c
1 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@
</view> </view>
</view> </view>
<bindPhone :show="showBind" @close="showBind = false" @change="getPhoneNumber" /> <bindPhone :show="showBind" @close="showBind = false" @change="getPhoneNumber" />
<modal :show="showOfficial" @close="showOfficial = false" @change="officialCode()" /> <modal :show="showOfficial" @close="showOfficial = false" @change="officialCode()" title="您还未绑定公众号" content="需要绑定公众号后才可以接收消息" confirmText="立即绑定" />
</view> </view>
</template> </template>
@ -88,7 +88,7 @@
} }
else{ else{
uni.reLaunch({ uni.reLaunch({
url: '/pageQuota/quotation/detail' url: '/pageQuota/quotation/index'
}) })
} }
} }
@ -96,7 +96,7 @@
// //
const officialCode = ()=>{ const officialCode = ()=>{
uni.navigateTo({ uni.navigateTo({
url: '/pages/code/code', url: `/pages/code/code?id=${userStore.userInfo.id}`,
success: () => { success: () => {
let user = userStore.userInfo; let user = userStore.userInfo;
user.supplier ? user.supplier.openid = 1 : user.supplier = {}; user.supplier ? user.supplier.openid = 1 : user.supplier = {};