Browse Source

fix env config space bug (#12147)

3.2.0-release
Devosend 2 years ago committed by GitHub
parent
commit
87490a34cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx
  2. 1
      dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts

1
dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx

@ -160,7 +160,6 @@ const EnvironmentModal = defineComponent({
path='config'
>
<NInput
allowInput={this.trim}
class='input-environment-config'
placeholder={envConfigPlaceholder}
type='textarea'

1
dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts

@ -97,6 +97,7 @@ export function useModal(
if (variables.saving) return
variables.saving = true
variables.model.config = variables.model.config.trim()
try {
statusRef === 0
? await submitEnvironmentModal()

Loading…
Cancel
Save