Browse Source

init

master
xuqm 1 year ago
parent
commit
8595ae742d
1 changed files with 3 additions and 0 deletions
  1. +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);


Loading…
Cancel
Save