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