安虹睿
1 year ago
7 changed files with 98 additions and 34 deletions
@ -0,0 +1,23 @@ |
|||
const state = { |
|||
enumList: [] |
|||
} |
|||
|
|||
const mutations = { |
|||
GET_ENUM_LIST: (state, log) => { |
|||
state.logs.push(log) |
|||
}, |
|||
} |
|||
|
|||
const actions = { |
|||
getEnumList({ commit }, log) { |
|||
commit('GET_ENUM_LIST', log) |
|||
}, |
|||
} |
|||
|
|||
export default { |
|||
namespaced: true, |
|||
state, |
|||
mutations, |
|||
actions |
|||
} |
|||
|
@ -1,25 +0,0 @@ |
|||
import { getDtoColumnType } from '@/api/wms-auth' |
|||
const state = { |
|||
dtos: null |
|||
} |
|||
|
|||
const mutations = { |
|||
INIT_DTOS: (state, data) => { |
|||
|
|||
state.dtos=data |
|||
}, |
|||
} |
|||
|
|||
const actions = { |
|||
initDtos({ commit }, data) { |
|||
commit('INIT_DTOS', data) |
|||
}, |
|||
} |
|||
|
|||
export default { |
|||
namespaced: true, |
|||
state, |
|||
mutations, |
|||
actions |
|||
} |
|||
|
Loading…
Reference in new issue