diff --git a/pages/owner.vue b/pages/owner.vue index 6618a76..b66705b 100644 --- a/pages/owner.vue +++ b/pages/owner.vue @@ -45,6 +45,10 @@ > + + 点击开启 + + @@ -141,6 +145,15 @@ export default { this.user = res.data }) }, + openSubMessage(){ + uni.requestSubscribeMessage({ + //此处填写刚才申请模板的模板ID + tmplIds: ['E8RK91cPLMios6ZHoKx6FJOV4H2kodx6yPWYp7jpLJY'], + success(res) { + console.log('requestSubscribeMessage', res) + } + }) + }, edit() { uni.navigateTo({ url: '/sub/owner/edit'