Commit 68d9de5f23e4f8720fd3f0082a06618be03a4879

Authored by ww
1 parent b5a297e7

fix: 修复看板详情重复提示

@@ -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;