Commit ff9f5d7161171cef4b6749893842c7894ec6a2e4
1 parent
5a69379b
fix:DEFECT-863 测试转换脚本的时候不用新增,只测试,现在第一次测试会新增一个脚本,后面再测试不会新增
Showing
1 changed file
with
7 additions
and
7 deletions
@@ -56,15 +56,15 @@ | @@ -56,15 +56,15 @@ | ||
56 | }); | 56 | }); |
57 | }); | 57 | }); |
58 | const handleSuccess = async (opt) => { | 58 | const handleSuccess = async (opt) => { |
59 | - const res = await getScriptManageMeList(); | ||
60 | - selectOptions.value = res.map((m) => { | ||
61 | - return { | ||
62 | - label: m.name, | ||
63 | - value: m.id, | ||
64 | - }; | ||
65 | - }); | ||
66 | if (opt.text !== 'test') { | 59 | if (opt.text !== 'test') { |
67 | selectScript.script = opt?.res?.id; | 60 | selectScript.script = opt?.res?.id; |
61 | + const res = await getScriptManageMeList(); | ||
62 | + selectOptions.value = res.map((m) => { | ||
63 | + return { | ||
64 | + label: m.name, | ||
65 | + value: m.id, | ||
66 | + }; | ||
67 | + }); | ||
68 | } | 68 | } |
69 | }; | 69 | }; |
70 | 70 |