删除多余的代码
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
const state = {
|
||||
id: null
|
||||
}
|
||||
|
||||
// getters
|
||||
// const getters = {
|
||||
// get: (state) => state.value
|
||||
// }
|
||||
|
||||
// actions
|
||||
const actions = {
|
||||
set ({ commit }, { trackedSatelliteId }) {
|
||||
commit('set', trackedSatelliteId)
|
||||
}
|
||||
}
|
||||
|
||||
// mutations
|
||||
const mutations = {
|
||||
set (state, trackedSatelliteId) {
|
||||
state.id = trackedSatelliteId
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
// getters,
|
||||
actions,
|
||||
mutations
|
||||
}
|
||||
Reference in New Issue
Block a user