Commit d7360a856d31d5153037290918288d5cefe303a7
1 parent
a4ca74e9
fix:DEFECT-860 测试脚本时,测试然后点击取消,此时再回到界面时,转换脚本需重新选择
Showing
1 changed file
with
4 additions
and
1 deletions
... | ... | @@ -101,7 +101,10 @@ |
101 | 101 | converScriptRef.value?.setScriptOutputData(res?.output || res?.error); |
102 | 102 | } |
103 | 103 | } |
104 | - emits('success', res); | |
104 | + emits('success', { | |
105 | + res, | |
106 | + text: isText.value, | |
107 | + }); | |
105 | 108 | } finally { |
106 | 109 | setModalProps({ confirmLoading: false }); |
107 | 110 | } | ... | ... |