Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
xuqinmin
/
PushSdkForWx
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
init
master
xuqm
1 anno fa
parent
71f0d861d8
commit
8595ae742d
1 ha cambiato i file
con
3 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/main.js
+ 3
- 0
src/main.js
Vedi 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…
Annulla
Salva