1 Star 0 Fork 52

闪电虎/vk-uni-cloud-router

forked from vk-uni/vk-uni-cloud-router 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
App.vue 538 Bytes
一键复制 编辑 原始数据 按行查看 历史
VK 提交于 2021-03-19 11:43 +08:00 . 1.8.7
<script>
import config from '@/app.config.js'
export default {
methods: {
},
// 监听 - 页面404
onPageNotFound:function(e) {
uni.redirectTo({
url: config.error.url
})
},
onLaunch: function() {
if(config.debug) console.log('App Launch')
let that = this;
},
onShow: function() {
if(config.debug) console.log('App Show')
},
onHide: function() {
if(config.debug) console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import "uview-ui/index.scss";
</style>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/shandianhu123/vk-uni-cloud-router.git
git@gitee.com:shandianhu123/vk-uni-cloud-router.git
shandianhu123
vk-uni-cloud-router
vk-uni-cloud-router
master

搜索帮助