Skip to content

Commit

Permalink
v2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-gang committed Jan 13, 2019
1 parent ce03caa commit 7a049d3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
1 change: 1 addition & 0 deletions demo/colorui.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,7 @@ button.icon.lg {

.cu-list.menu {
display: block;
overflow: hidden;
}

.cu-list+.cu-list {
Expand Down
13 changes: 0 additions & 13 deletions demo/pages/basics/home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ Page({
{ title: '加载', name: 'loading', color: 'green', icon: 'loading2' },
],
},
onLoad() {
let that = this;
// 获取用户信息
wx.getSetting({
success: res => {
if (!res.authSetting['scope.userInfo']) {
wx.redirectTo({
url: '/pages/auth/auth'
})
}
}
})
},
showModal(e) {
this.setData({
modalName: e.currentTarget.dataset.target
Expand Down
1 change: 1 addition & 0 deletions template/colorui.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,7 @@ button.icon.lg {

.cu-list.menu {
display: block;
overflow: hidden;
}

.cu-list+.cu-list {
Expand Down

0 comments on commit 7a049d3

Please sign in to comment.