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
3477776c
authored
Feb 22, 2020
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
74ed4d41
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
src/store/modules/sample/index.js
view/app.js
src/store/modules/sample/index.js
View file @
3477776c
...
...
@@ -26,9 +26,9 @@ const mutations = {
state
.
ziYingIndex
=
payload
.
data
;
},
aggs
(
state
,
payload
)
{
console
.
log
(
payload
)
if
(
!
payload
.
reset
)
{
var
arr
=
[];
var
obj
=
Object
.
keys
(
payload
.
data
.
aggs
);
...
...
@@ -54,11 +54,12 @@ const mutations = {
}
}
state
.
aggs
=
payload
.
data
;
}
else
{
}
else
{
state
.
aggs
=
[];
state
.
aggs
=
payload
.
data
;
}
...
...
view/app.js
View file @
3477776c
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