This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
xuqinmin
/
PushSdkForWx
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
init
master
xuqm
1 year ago
parent
71f0d861d8
commit
8595ae742d
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/main.js
+ 3
- 0
src/main.js
View File
@@ -12,6 +12,9 @@ SzyxPush.register('xuqm').then(r => {
}).catch(e => {
console.log('注册im服务失败', e)
})
SzyxPush.onMessage((type, msg) => {
console.log('收到消息', type, msg)
})
export function createApp() {
const app = createSSRApp(App);
Write
Preview
Loading…
Cancel
Save