Skip to content

Commit

Permalink
重构项目, 移除冗余文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunlongyu committed Nov 16, 2020
1 parent e0e6d81 commit fbfe2f7
Show file tree
Hide file tree
Showing 443 changed files with 13,942 additions and 141,147 deletions.
25 changes: 10 additions & 15 deletions App.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<script>
export default {
// 此处globalData为了演示其作用,不是uView框架的一部分
globalData: {
username: '白居易'
onLaunch: function() {
console.log('App Launch')
},
onLaunch() {
// 1.1.0版本之前关于http拦截器代码,已平滑移动到/common/http.interceptor.js中
// 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明):
// import httpInterceptor from '@/common/http.interceptor.js'
// Vue.use(httpInterceptor, app)
// process.env.VUE_APP_PLATFORM 为通过js判断平台名称的方法,结果分别如下:
/**
* h5,app-plus(nvue下也为app-plus),mp-weixin,mp-alipay......
*/
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>

<style lang="scss">
@import "uview-ui/index.scss";
@import "common/demo.scss";
</style>
/*每个页面公共css */
@import "uview-ui/index.scss";
</style>
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Loading

0 comments on commit fbfe2f7

Please sign in to comment.