Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
f40d59e6
Commit
f40d59e6
authored
Jul 01, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配件选择页传参
parent
b0d2f05a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
addParts.vue
src/pages/parts/addParts.vue
+10
-7
No files found.
src/pages/parts/addParts.vue
View file @
f40d59e6
...
...
@@ -126,13 +126,16 @@ export default {
},
onLoad
(
e
)
{
getApp
().
trackPage
(
'选择配件页'
)
if
(
e
)
{
this
.
categaryId
=
e
.
categaryId
this
.
type
=
e
.
type
this
.
getBrandList
(
e
.
brandId
)
}
else
{
this
.
getCategaryList
()
}
if
(
e
)
{
if
(
e
.
type
==
1
)
{
this
.
categaryId
=
e
.
categaryId
||
''
this
.
type
=
e
.
type
this
.
getBrandList
(
e
.
brandId
)
}
else
if
(
e
.
type
==
2
)
{
this
.
type
=
e
.
type
this
.
getCategaryList
()
}
}
},
methods
:
{
// 获取品类
...
...
Write
Preview
Markdown
is supported
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