Commit 443f5ee8 authored by 李纪文's avatar 李纪文

feat: 组态首次控制需要人员是当前用户

parent 8501dda2
......@@ -501,7 +501,12 @@ const ConfigurationView = (props) => {
message.warning(`${guid.tag}控制失败,${controlInfo.message}!`);
} else {
message.success(`${guid.tag}控制下发成功。`);
if (guid?.node && guid?.node?.verify && guid?.node?.isControl === '是') {
if (
guid?.node &&
guid?.node?.verify &&
guid?.node?.isControl === '是' &&
guid?.node?.people === '当前用户'
) {
myDiagram.model.setDataProperty(guid?.node, 'isVerify', true);
}
}
......
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