Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
acb456aa
Commit
acb456aa
authored
Aug 18, 2018
by
Menethil
Browse files
Merge remote-tracking branch 'origin/master'
parents
f3d9fce5
3bd05200
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/category/category.js
View file @
acb456aa
...
...
@@ -49,6 +49,13 @@ Page({
title
:
res
.
data
.
parentCategory
.
name
})
// 当id是L1分类id时,这里需要重新设置成L1分类的一个子分类的id
if
(
res
.
data
.
parentCategory
.
id
==
that
.
data
.
id
)
{
that
.
setData
({
id
:
res
.
data
.
currentCategory
.
id
});
}
//nav位置
let
currentIndex
=
0
;
let
navListCount
=
that
.
data
.
navList
.
length
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment