Showing
1 changed file
with
2 additions
and
2 deletions
@@ -55,10 +55,10 @@ export function useSendCommand() { | @@ -55,10 +55,10 @@ export function useSendCommand() { | ||
55 | }, | 55 | }, |
56 | }); | 56 | }); |
57 | createMessage.success('命令下发成功'); | 57 | createMessage.success('命令下发成功'); |
58 | + return true; | ||
58 | } catch (msg) { | 59 | } catch (msg) { |
60 | + console.log('enter'); | ||
59 | return error(); | 61 | return error(); |
60 | - } finally { | ||
61 | - return true; | ||
62 | } | 62 | } |
63 | }; | 63 | }; |
64 | return { | 64 | return { |