Flatten nested repos
This commit is contained in:
25
test/vuex/one-report-view/modules/reports.js
Normal file
25
test/vuex/one-report-view/modules/reports.js
Normal file
@@ -0,0 +1,25 @@
|
||||
// 1 => LOADING
|
||||
// 2 => DONE
|
||||
// 3 => ERROR
|
||||
// import * as api from "../api/login.js"
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state: {
|
||||
reports : [
|
||||
{
|
||||
"group":"Front Office",
|
||||
"child":[
|
||||
{"code":"FO-A1", "label":"Kartu Kontrol"},
|
||||
{"code":"FO-A2", "label":"Invoice"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
mutations: {
|
||||
|
||||
},
|
||||
actions: {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user