Commit 2a51fce8 by 放生的三文鱼

Merge branch 'mcd' of http://132.232.112.242:7090/zcx/szse into mcd

parents 157e6de2 eeb93ad9
......@@ -343,16 +343,21 @@ const AssetAction = (props) => {
}
const getElements = ( cb = null ) => {
console.log('data',templateType)
const tempinfo = {}
if(templateType){
tempinfo.templateType =templateType
}
dispatch({
type: (currentAction==='add')?'assetmanage.listElementsAndFillValue':'assetmanage.listElements',
payload: (currentAction==='add')?{
params: {
dirId,
templateType
...tempinfo
}
}:{
params:{
templateType
...tempinfo
}
},
callback: data => {
......
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