Commit 68b04e81 by 姜雷

修改服务类型中的字段名

parent ed162585
......@@ -19,7 +19,7 @@ export default {
if (!this.serviceTypeLists[this.ServiceType].length) {
this.fetchServiceTypeList({
serviceType: this.ServiceType,
state: this.ServiceState,
serviceState: this.ServiceState,
});
}
},
......
......@@ -21,11 +21,11 @@ const getters = {
};
const actions = {
fetchServiceTypeList({ state, commit }, { serviceType, state }) {
fetchServiceTypeList({ state, commit }, { serviceType, serviceState }) {
if (state.fetching[serviceType]) return;
commit(FETCH_STATE, { value: true, index: serviceType });
return fetchServiceList({
params: { serviceType, state },
params: { serviceType, state: serviceState },
}).then(res => {
const { selfService } = res;
commit(SERVICE_TYPE_LIST, { list: selfService, index: serviceType });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment