diff --git a/src/views/debug/index.vue b/src/views/debug/index.vue index ff23633..30c4367 100644 --- a/src/views/debug/index.vue +++ b/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' })") | 反转