mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 04:08:31 +08:00
fix env config space bug (#12147)
This commit is contained in:
parent
cc82206c33
commit
87490a34cc
@ -160,7 +160,6 @@ const EnvironmentModal = defineComponent({
|
||||
path='config'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
class='input-environment-config'
|
||||
placeholder={envConfigPlaceholder}
|
||||
type='textarea'
|
||||
|
@ -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…
Reference in New Issue
Block a user