diff --git a/miniapp/config/index.js b/miniapp/config/index.js index 6bdbd8d..7794e45 100644 --- a/miniapp/config/index.js +++ b/miniapp/config/index.js @@ -23,7 +23,7 @@ const ENV = { } // 当前环境 - 开发时使用 development,打包时改为 production -const CURRENT_ENV = 'production' +const CURRENT_ENV = 'development' // 导出配置 export const config = { diff --git a/miniapp/pages/mine/index.vue b/miniapp/pages/mine/index.vue index 61c6432..7515cc5 100644 --- a/miniapp/pages/mine/index.vue +++ b/miniapp/pages/mine/index.vue @@ -164,7 +164,7 @@ - + 绑定家庭成员 @@ -522,6 +522,7 @@ export default { bindLoading, familyMembers, canBindFamily, + loadMemberInfo, handleFamilyBind, closeFamilyPopup, handleBindFamily, @@ -554,6 +555,10 @@ export default { if (this.loadInteractCounts) { this.loadInteractCounts() } + // 刷新家庭绑定权限(购买家庭会员后返回需要立即显示绑定入口) + if (this.loadMemberInfo) { + this.loadMemberInfo() + } // 刷新未读消息数并更新底部导航栏badge chatStore.fetchAllUnreadCounts() } diff --git a/miniapp/static/ic_bind.png b/miniapp/static/ic_bind.png new file mode 100644 index 0000000..e26599b Binary files /dev/null and b/miniapp/static/ic_bind.png differ