1 Star 0 Fork 25

yanghuangsheng / uni-app聊天室文件

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
App.vue 683 Bytes
一键复制 编辑 原始数据 按行查看 历史
天然呆 提交于 2019-09-11 01:04 . 0910更新
<script>
import chat from '@/common/mixins/chat_init.js'
export default {
mixins:[chat],
onLaunch: function() {
// #ifdef APP-PLUS
plus.push.addEventListener('receive', function(msg){
plus.push.createMessage('receive teile')
})
// #endif
// console.log('App Launch')
},
onShow: function() {
//console.log('App show')
// #ifdef APP-PLUS
let info= plus.push.getClientInfo().clientid
console.log('onShow',JSON.stringify(info))
// #endif
},
onHide: function() {
//console.log('App Hide')
}
}
</script>
<style lang="scss">
@import "@/static/css/base.scss";
@import "@/static/css/style.scss";
</style>
NodeJS
1
https://gitee.com/yanghuangsheng_admin/uniapp_chat_room_files.git
git@gitee.com:yanghuangsheng_admin/uniapp_chat_room_files.git
yanghuangsheng_admin
uniapp_chat_room_files
uni-app聊天室文件
master

搜索帮助