Skip to content

Commit beebc5e

Browse files
devosendcaishunfeng
authored andcommitted
fix env config space bug (#12147)
1 parent f982e1d commit beebc5e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ const EnvironmentModal = defineComponent({
160160
path='config'
161161
>
162162
<NInput
163-
allowInput={this.trim}
164163
class='input-environment-config'
165164
placeholder={envConfigPlaceholder}
166165
type='textarea'

Diff for: dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export function useModal(
9797
if (variables.saving) return
9898
variables.saving = true
9999

100+
variables.model.config = variables.model.config.trim()
100101
try {
101102
statusRef === 0
102103
? await submitEnvironmentModal()

0 commit comments

Comments
 (0)