Browse Source

fix: dewbug修复

master
guoapeng 1 week ago
parent
commit
c1be976ad1
  1. 6
      src/views/debug/index.vue

6
src/views/debug/index.vue

@ -202,11 +202,11 @@ const commandHandle = async (command: string, params?: unknown) => {
el-select(v-model="debugStore.formData.peristalticPumpData.ceramicPump.pumpCode", placeholder="请选择泵")
el-option(v-for="item in 2", :key="item", :label="`泵-${item}`", :value="`ceramic_pump_${item}`")
el-form-item
ft-button(size="small", type="primary", :click-handle="() => commandHandle('ceramic_pump_move', { ...debugStore.formData.peristalticPumpData.ceramicPump})")
| 移动
ft-button(size="small", type="primary", :click-handle="() => commandHandle('ceramic_pump_move', { ...debugStore.formData.peristalticPumpData.ceramicPump})")
| 移动
ft-button(size="small", type="primary", :click-handle="() => commandHandle('ceramic_pump_open', { ...debugStore.formData.peristalticPumpData.ceramicPump, direction: 'forward' })")
| 正转
ft-button(size="small", class="stop-button", :click-handle="() => commandHandle('ceramic_pump_close',...debugStore.formData.peristalticPumpData.ceramicPump)")
ft-button(size="small", class="stop-button", :click-handle="() => commandHandle('ceramic_pump_close', debugStore.formData.peristalticPumpData.ceramicPump)")
| 停止
ft-button(size="small", type="primary", class="stop-button", :click-handle="() => commandHandle('ceramic_pump_open', { ...debugStore.formData.peristalticPumpData.ceramicPump, direction: 'backward' })")
| 反转

Loading…
Cancel
Save