Skip to content

Commit

Permalink
[fix][taier-ui]先上传一份集群配置,删除部分key-value值后,重新上传不更新的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
feelshana committed Nov 27, 2023
1 parent 181410c commit 6a80953
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions taier-ui/src/pages/console/cluster/detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ export default function ClusterDetail() {
};

const handleUpdateConfig = (params: Record<string, string>, file: RcFile) => {
form.resetFields(['config']);
form.setFieldsValue({ config: params, uploadFileName: file });

setEdited((p) => ({ ...p, [selectedKey!]: true }));
};

Expand Down

0 comments on commit 6a80953

Please sign in to comment.