From 76c55bafda3adf28dfbca206d0dfc2132ffec24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Mon, 17 Feb 2025 16:31:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=80=E5=90=AF=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/owner.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/pages/owner.vue b/pages/owner.vue index 39adfa7..d78c0af 100644 --- a/pages/owner.vue +++ b/pages/owner.vue @@ -19,10 +19,10 @@ 消息通知 - - - - + + 点击开启 + + @@ -86,6 +86,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'