Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vue
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
project-templates
web
vue
Commits
d65c3ac7
Commit
d65c3ac7
authored
Nov 21, 2018
by
Vadym Gidulian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed `getData` to `fetchData`
parent
5a4fcaad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app.js
src/js/app.js
+1
-1
app.store.js
src/js/app.store.js
+1
-1
No files found.
src/js/app.js
View file @
d65c3ac7
...
@@ -8,6 +8,6 @@ var app = new Vue({
...
@@ -8,6 +8,6 @@ var app = new Vue({
router
:
require
(
'./app.router'
),
router
:
require
(
'./app.router'
),
store
:
require
(
'./app.store'
),
store
:
require
(
'./app.store'
),
created
:
function
()
{
created
:
function
()
{
this
.
$store
.
dispatch
(
'
get
Data'
);
this
.
$store
.
dispatch
(
'
fetch
Data'
);
}
}
});
});
src/js/app.store.js
View file @
d65c3ac7
...
@@ -10,7 +10,7 @@ module.exports = new Vuex.Store({
...
@@ -10,7 +10,7 @@ module.exports = new Vuex.Store({
module
:
require
(
'./store/module.store'
)
module
:
require
(
'./store/module.store'
)
},
},
actions
:
{
actions
:
{
get
Data
:
function
(
context
)
{
fetch
Data
:
function
(
context
)
{
context
.
dispatch
(
'module/...'
);
context
.
dispatch
(
'module/...'
);
}
}
}
}
...
...
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