Commit 1277bb7d by zhaochengxiang

待发布模型允许编辑

parent d699f77b
......@@ -464,10 +464,6 @@ const EditModel = (props) => {
editTip = '请到对应的当前表修改';
editDisabled = true;
} else {
if (modelerData?.state?.id === '2') {
editTip = '待发布的模型不允许编辑';
}
if (modelerData?.state?.id === '4') {
if (!modelerData?.permitCheckOut) {
editTip = `${modelerData?.holder||''}正在编辑中, 不允许再编辑`;
......
......@@ -680,10 +680,6 @@ const ModelTable = (props) => {
} else {
if (!currentItem?.editable && currentItem?.state?.id!=='4') {
disableEdit = true;
if (currentItem?.state?.id === '2') {
editTip = '待发布的模型不允许编辑';
}
}
if (!currentItem?.permitCheckOut && currentItem?.state?.id==='4') {
......
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