Commit e2092883 authored by 李智书's avatar 李智书

1.修改毕业页面返回小程序切换用户;

parent 3168ca3a
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
恭喜您的小孩已经毕业! 恭喜您的小孩已经毕业!
</view> </view>
</view> </view>
<!-- 返回小程序切换未毕业用户 -->
<view style="width: 300rpx;text-align: center;margin: 0 auto;color: #08C379; margin-top: 50rpx;cursor: pointer;"
@click="SwitchUser">
<span style="text-decoration:underline;"> 切换小孩账号</span>
</view>
</view> </view>
</template> </template>
...@@ -36,7 +41,12 @@ ...@@ -36,7 +41,12 @@
this.StudentsGraduateInfo = options this.StudentsGraduateInfo = options
}, },
methods: { methods: {
// 返回小程序切换用户
async SwitchUser() {
wx.miniProgram.redirectTo({
url: `/pages/setting/main`,
});
}
} }
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment