pref(envConfigModal): 优化指令复制函数的判断条件

master
钟良源 2 months ago
parent 751a631bbd
commit 5a7aa39f3d

@ -83,10 +83,8 @@ const EnvConfigModal: React.FC<EnvConfigModalProps> = ({
};
const handleCopyCommand = () => {
if (configData?.javaCommand) {
navigator.clipboard.writeText(configData.javaCommand);
Message.success('复制成功');
}
};
const handleSave = async () => {

Loading…
Cancel
Save