Commit 6dea8232 by 放生的三文鱼

增加是否能编辑的判断

parent b8688296
...@@ -419,7 +419,7 @@ const AssetAction = (props) => { ...@@ -419,7 +419,7 @@ const AssetAction = (props) => {
}, },
callback: data => { callback: data => {
setLoading(false); setLoading(false);
setIsExist(data?.existDraft)
const metadataIndex = data?.elements?.findIndex(item => item.name === '资产项'); const metadataIndex = data?.elements?.findIndex(item => item.name === '资产项');
if (metadataIndex !== -1) { if (metadataIndex !== -1) {
......
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