Browse Source

fix env config space bug (#12147)

3.1.0-release
Devosend 2 years ago committed by caishunfeng
parent
commit
beebc5e0ad
  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