Commit 72488e04 by zhaochengxiang

岗位关联资产

parent 09aa4cc7
...@@ -201,7 +201,7 @@ const FC = (props) => { ...@@ -201,7 +201,7 @@ const FC = (props) => {
type: 'assetmanage.getTemplates', type: 'assetmanage.getTemplates',
callback: data => { callback: data => {
setLoadingTemplates(false) setLoadingTemplates(false)
const newTemplates = (data??[]).filter(item => item.templateType!=='post') const newTemplates = (data??[]).filter(item => item.type!=='post')
setTemplates(newTemplates) setTemplates(newTemplates)
......
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