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
74ed4d41
authored
Feb 22, 2020
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
0e515eef
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
src/store/modules/sample/index.js
src/views/sample/sample.vue
view/18.js
view/app.js
src/store/modules/sample/index.js
View file @
74ed4d41
...
...
@@ -27,7 +27,9 @@ const mutations = {
},
aggs
(
state
,
payload
)
{
if
(
!
payload
.
resst
)
{
console
.
log
(
payload
)
if
(
!
payload
.
reset
)
{
var
arr
=
[];
var
obj
=
Object
.
keys
(
payload
.
data
.
aggs
);
...
...
@@ -127,6 +129,7 @@ const actions = {
},
aggs
({
commit
},
payload
)
{
Toast
.
loading
({
message
:
'加载中...'
,
forbidClick
:
true
,
...
...
src/views/sample/sample.vue
View file @
74ed4d41
...
...
@@ -279,7 +279,7 @@
},
getAggData
:
function
(
id
)
{
let
params
=
Object
.
assign
({},
{
'res
s
t'
:
true
,
'sample_class_id/eq'
:
id
});
let
params
=
Object
.
assign
({},
{
'res
e
t'
:
true
,
'sample_class_id/eq'
:
id
});
this
.
$store
.
dispatch
({
type
:
"aggs"
,
...
...
view/18.js
View file @
74ed4d41
This diff is collapsed.
Click to expand it.
view/app.js
View file @
74ed4d41
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