Commit cc149700 authored by 皮倩雯's avatar 皮倩雯

fix: '优化工单样式“

parent 130af997
Pipeline #63162 failed with stages
...@@ -70,11 +70,10 @@ const NodeEdit = props => { ...@@ -70,11 +70,10 @@ const NodeEdit = props => {
if (res.code === 0) { if (res.code === 0) {
// 结束节点 // 结束节点
if (res.data.Type == 2) { if (res.data.Type == 2) {
console.log(res.data.Extend.AutoClose); if (res.data.Extend && res.data.Extend.AutoClose === '是') {
if (res.data.Extend.AutoClose === '是') {
res.data.Extend.AutoClose = true; res.data.Extend.AutoClose = true;
setVisibleChecked3(true); setVisibleChecked3(true);
} else { } else if (res.data.Extend && res.data.Extend.AutoClose === '否') {
res.data.Extend.AutoClose = false; res.data.Extend.AutoClose = false;
setVisibleChecked3(false); setVisibleChecked3(false);
} }
......
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