Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
0763505c1c7a1512242fd4799681ff01e7fd9a77
Authored by
vking
2020-11-16 17:53:30 +0800
1 parent
2fed3100
build: skipped
new 2.0
Changes
2
Builds
0
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
pages/me/index.js
pages/me/list.js
pages/me/index.js
View file @
0763505
...
...
@@ -98,6 +98,7 @@ Page({
},
gotoList
(
e
){
getApp
().
meListType
=
util
.
attr
(
e
,
'type'
)
wx
.
switchTab
({
url
:
'/pages/me/list?type='
+
util
.
attr
(
e
,
'type'
)
})
...
...
pages/me/list.js
View file @
0763505
...
...
@@ -25,8 +25,8 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
if
(
options
.
type
){
this
.
tabType
=
options
.
type
if
(
getApp
().
meListType
){
this
.
tabType
=
getApp
().
meListType
this
.
setData
({
tabType
:
this
.
tabType
})
...
...
Please
register
or
login
to post a comment