Skip to content

Commit

Permalink
[BugFix][Web]Fix data development, Flink jar task toolbar display (#4002
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zackyoungh authored Dec 4, 2024
1 parent 7bc8913 commit 5674a45
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ export const SqlTask = memo((props: FlinkSqlProps & any) => {
if (taskDetail.dialect.toLowerCase() === DIALECT.FLINKJAR) {
const sqlConvertForm = await flinkJarSqlConvertForm(taskDetail.statement);
setSqlForm({ enable: true, ...sqlConvertForm });
setCurrentState((prevState) => ({
...prevState,
setCurrentState({
...newParams,
statement: sqlConvertForm?.initSqlStatement ?? ''
}));
});
setOriginStatementValue(sqlConvertForm?.initSqlStatement ?? '');
if (params?.statement && params?.statement !== sqlConvertForm?.initSqlStatement) {
setDiff([
Expand Down

0 comments on commit 5674a45

Please sign in to comment.