Showing
1 changed file
with
1 additions
and
1 deletions
@@ -58,7 +58,7 @@ | @@ -58,7 +58,7 @@ | ||
58 | const getValue = computed<string>({ | 58 | const getValue = computed<string>({ |
59 | get() { | 59 | get() { |
60 | const { scriptLang, jsScript = '', tbelScript = '' } = props.value || {}; | 60 | const { scriptLang, jsScript = '', tbelScript = '' } = props.value || {}; |
61 | - return scriptLang === ScriptLanguageEnum.JavaScript ? jsScript : tbelScript; | 61 | + return scriptLang === ScriptLanguageEnum.TBEL ? tbelScript : jsScript; |
62 | }, | 62 | }, |
63 | set(value) { | 63 | set(value) { |
64 | const { jsScript, tbelScript } = props.value || {}; | 64 | const { jsScript, tbelScript } = props.value || {}; |