Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bab06934
authored
Feb 25, 2020
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
87bee99f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/views/sample/sample.vue
view/14.js
src/views/sample/sample.vue
View file @
bab06934
...
...
@@ -187,7 +187,7 @@
//先获取aggSample的第一个id
this
.
$store
.
dispatch
({
type
:
"ziYingIndex"
,
params
:
{
'sample_class_id/eq'
:
val
,
p
:
1
}
params
:
{
'sample_class_id/eq'
:
val
,
p
:
this
.
p
}
});
}
}
...
...
@@ -253,14 +253,14 @@
this
.
$store
.
dispatch
({
type
:
"ziYingIndex"
,
params
:
{
'sample_class_id/eq'
:
name
}
params
:
{
'sample_class_id/eq'
:
name
,
p
:
this
.
p
}
});
},
onLoad
()
{
this
.
p
++
;
let
params
=
Object
.
assign
({},
{
p
:
this
.
p
},
{
'sample_class_id/eq'
:
this
.
sample_class_id
||
this
.
smaple_class_id
},
this
.
brand_id
,
this
.
packing
,
this
.
encap
,
this
.
attrs
,
{
id
:
this
.
id
.
join
(
','
)}
);
let
params
=
Object
.
assign
({},
{
p
:
this
.
p
},
{
'sample_class_id/eq'
:
this
.
sample_class_id
||
this
.
smaple_class_id
},
this
.
brand_id
,
this
.
packing
,
this
.
encap
,
this
.
attrs
);
setTimeout
(()
=>
{
this
.
$store
.
dispatch
({
type
:
"ziYingIndex"
,
...
...
view/14.js
View file @
bab06934
This diff is collapsed.
Click to expand it.
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