Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -199,7 +199,7 @@ |
199 | 199 | throw new Error('请先选择对应脚本'); |
200 | 200 | } |
201 | 201 | } else { |
202 | - if (!scriptForm.authScriptId || !scriptForm.upScriptId) { | |
202 | + if (!scriptForm.authScriptId && !scriptForm.upScriptId) { | |
203 | 203 | createMessage.error('请先选择对应脚本'); |
204 | 204 | throw new Error('请先选择对应脚本'); |
205 | 205 | } | ... | ... |