From 0e7b126eaf8da2e93c0d21e60d6721ef170dad5f Mon Sep 17 00:00:00 2001 From: zhangzhen <525765282@qq.com> Date: Fri, 15 Aug 2025 16:22:55 +0800 Subject: [PATCH] 优化指令集可视化功能; --- src/components/Common/CommonView/index.js | 1 + src/components/Common/InstructSetSetting/index.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Common/CommonView/index.js b/src/components/Common/CommonView/index.js index 35597c8..7ef8a65 100644 --- a/src/components/Common/CommonView/index.js +++ b/src/components/Common/CommonView/index.js @@ -431,6 +431,7 @@ export default class CommonView extends Component { app, iColValue, slaveData: this.props.slaveData, + slave0Data: this.props.slave0Data, record: masterData, name: 'master', form: this.props.form, diff --git a/src/components/Common/InstructSetSetting/index.js b/src/components/Common/InstructSetSetting/index.js index da3500b..d8c09c9 100644 --- a/src/components/Common/InstructSetSetting/index.js +++ b/src/components/Common/InstructSetSetting/index.js @@ -12,7 +12,7 @@ const InstructSetSetting = (props = {}) => { const { instructSetSettingVisible } = props; if (!instructSetSettingVisible) return ""; - const { onCancelInstructSetSettingModal, showConfig, dataValue, instructSetSettingId } = props; + const { onCancelInstructSetSettingModal, showConfig, dataValue, instructSetSettingId, slave0Data } = props; const { showName, sName } = showConfig; const instructSet = commonUtils.convertStrToObj(dataValue, {}); @@ -44,6 +44,7 @@ const InstructSetSetting = (props = {}) => { { command: "initData", value: instructSet.change || instructSet.blur || (instructSet ? [instructSet] : []), + slave0Data, }, IFRAMEURL ); -- libgit2 0.22.2