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