mh_jy_safe_web/src/models/treePage.js

19 lines
373 B
JavaScript
Raw Normal View History

2025-08-25 10:08:30 +08:00
import * as appService from '../services/treePage'
export default {
namespace: 'treePage',
state: {
btnEntities: []
},
effects: {
*getTreePageConfigInfo ({ payload }, { call }) {
return yield call(appService.getTreePageConfigInfo, payload)
},
},
reducers: {
save (state, action) {
return { ...state, ...action.payload }
}
}
}