Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -10,7 +10,7 @@ export function useSendCommand() { |
10 | 10 | const loading = ref(false); |
11 | 11 | |
12 | 12 | const error = () => { |
13 | - createMessage.error('下发指令失败'); | |
13 | + // createMessage.error('下发指令失败'); | |
14 | 14 | return false; |
15 | 15 | }; |
16 | 16 | |
... | ... | @@ -52,6 +52,7 @@ export function useSendCommand() { |
52 | 52 | createMessage.success('命令下发成功'); |
53 | 53 | return true; |
54 | 54 | } catch (msg) { |
55 | + console.error(msg); | |
55 | 56 | return error(); |
56 | 57 | } finally { |
57 | 58 | loading.value = false; | ... | ... |