apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.9k stars 4.63k forks source link

[Question] [Module Name] When dolphinscheduler-ui runs the pnpm run build:prod command, an assignment type error occurs. #16601

Open oicq1699 opened 2 months ago

oicq1699 commented 2 months ago

Search before asking

What happened

dolphinscheduler-3.2.2-release

dolphinscheduler-ui model,run pnpm run build:prod,Reported some errors:

src/views/projects/workflow/definition/timing/index.tsx:122:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'. ... src/views/projects/workflow/definition/timing/index.tsx:123:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'. ... src/views/projects/workflow/timing/index.tsx:117:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'. ... src/views/projects/workflow/timing/index.tsx:118:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'. ...

Found 8 errors in 4 files.

Errors Files 2 src/views/projects/task/definition/batch-task.tsx:220 2 src/views/projects/workflow/definition/index.tsx:326 2 src/views/projects/workflow/definition/timing/index.tsx:122 2 src/views/projects/workflow/timing/index.tsx:117

What you expected to happen

ts type error

How to reproduce

1、download dolphinscheduler-3.2.2-release 2、install node18 and pnpm 3、 in dolphinscheduler-ui model,run pnpm run build:prod

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.