[Fix][UI Next][V1.0.0-Alpha] Fix tenant not exists error while import workflow. (#8797)

This commit is contained in:
Amy0104 2022-03-10 12:58:19 +08:00 committed by GitHub
parent 38fba609cb
commit bb1ba967cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ export default defineComponent({
if (process) {
formValue.value.name = process.name
formValue.value.description = process.description
formValue.value.tenantCode = process.tenantCode
formValue.value.tenantCode = process.tenantCode || 'default'
if (process.timeout && process.timeout > 0) {
formValue.value.timeoutFlag = true
formValue.value.timeout = process.timeout