7 Star 42 Fork 33

BBBUG/BBBUG APP

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
App.vue 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hamm 提交于 2020-10-28 00:14 +08:00 . init: 初始化仓库
<script>
export default {
data() {
return {
// app: getApp()
}
},
onLaunch() {
let that = this;
},
onShow() {
let that = this;
getApp().user.getMyInfo({
success: function(res) {
}
});
},
onHide() {
let that = this;
// if (getApp().webSocket.connection) {
// getApp().webSocket.closeWss();
// }
},
onUniNViewMessage:function(e){
console.log("App.vue收到数据")
console.log(JSON.stringify(e.data))
},
methods: {}
}
</script>
<style>
</style>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/bbbug_com/ChatAPP.git
git@gitee.com:bbbug_com/ChatAPP.git
bbbug_com
ChatAPP
BBBUG APP
master

搜索帮助