Skip to content

Commit

Permalink
Merge branch 'dev-4.2.2' of code.alipay.com:oceanbase/oceanbase-devel…
Browse files Browse the repository at this point in the history
…oper-center into dev-4.2.2
  • Loading branch information
HSunboy committed Oct 25, 2023
2 parents 0ac657a + 47e8f30 commit e4804be
Show file tree
Hide file tree
Showing 5 changed files with 617 additions and 489 deletions.
2 changes: 1 addition & 1 deletion src/common/network/sensitiveColumn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export async function listColumns(projectId: number, database: number[]) {
},
},
);
return result?.data;
return result?.data || [];
}

export enum ScannResultType {
Expand Down
14 changes: 8 additions & 6 deletions src/component/Task/ImportTask/CreateModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,12 +517,14 @@ class CreateModal extends React.Component<IProps, IState> {
formData={formData}
projectId={projectId}
onFormValueChange={(values) => {
this.setState({
isFormChanged: true,
formData: {
...this.state.formData,
...values,
},
this.setState((state) => {
return {
isFormChanged: true,
formData: {
...state.formData,
...values,
},
};
});
}}
ref={this._formRef}
Expand Down
Loading

0 comments on commit e4804be

Please sign in to comment.