chore: clear backend parameters、backend_version、env on change backend

This commit is contained in:
jialin
2025-04-11 18:49:06 +08:00
parent 7542ac9d87
commit 092aeceb9d
11 changed files with 102 additions and 95 deletions
@@ -137,13 +137,19 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
>
<HighlightCode
theme="dark"
code={code}
code={code.replace(/\\/g, '')}
copyValue={code}
lang="bash"
copyable={false}
></HighlightCode>
</EditorWrap>
) : (
<HighlightCode theme="dark" code={code} lang="bash"></HighlightCode>
<HighlightCode
theme="dark"
code={code.replace(/\\/g, '')}
copyValue={code}
lang="bash"
></HighlightCode>
)}
<h3 className="m-b-0 m-t-10 font-size-14 font-600">
3. {intl.formatMessage({ id: 'resources.worker.add.step3' })}
@@ -17,7 +17,7 @@
}
.code-pre {
white-space: pre-line !important;
white-space: normal !important;
}
.ant-radio-button-wrapper {