8 Star 38 Fork 13

GoEasy / Uniapp Websocket实时通讯

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 556 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zhang Hui 提交于 2021-08-18 14:14 . 1. Add goeasy.onClickNotification
<script>
export default {
globalData:{
},
onLaunch: function() {
//为了支持nvue能读到全局对象. 如果不需要支持nvue,main.js里挂在Vue.prototype,其他页面通过this.goEasy就可以获取
this.globalData.goEasy = this.goEasy;
console.log("App onLaunch");
},
onShow: function() {
console.log('App Show');
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
</style>
JavaScript
1
https://gitee.com/goeasy-io/GoEasyDemo-Uniapp-Helloworld.git
git@gitee.com:goeasy-io/GoEasyDemo-Uniapp-Helloworld.git
goeasy-io
GoEasyDemo-Uniapp-Helloworld
Uniapp Websocket实时通讯
2.1

搜索帮助