Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
xuqinmin
/
PushSdkForWx
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
init
master
xuqm
hace 1 año
padre
71f0d861d8
commit
8595ae742d
Se han
modificado 1 ficheros
con
3 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+3
-0
src/main.js
+ 3
- 0
src/main.js
Ver fichero
@@ -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);
Escribir
Vista previa
Cargando…
Cancelar
Guardar