Browse Source

fix: 去掉停止喷涂限制;z轴高度限制

master
guoapeng 5 months ago
parent
commit
296b995b7e
  1. 6
      src/services/globalCmd/cmdTypes.ts
  2. 1
      src/views/SprayView.vue

6
src/services/globalCmd/cmdTypes.ts

@ -36,9 +36,9 @@ export type WorkType = {
};
export function checkSprayParamValid(p: Partial<WorkType>): [boolean, string] {
if (typeof p.height !== "number") {
return [false, "请输入正确的z轴高度"];
}
// if (typeof p.height !== "number") {
// return [false, "请输入正确的z轴高度"];
// }
if (typeof p.nitrogenAirPressure !== "number") {
return [false, "请输入正确的氮气气压"];
}

1
src/views/SprayView.vue

@ -6,7 +6,6 @@
开始喷涂
</button>
<button
:disabled="statusStore.workStatus !== 'spraying'"
class="btn-light px-8 py-2 text-lg"
@click="onStopSpray">
停止喷涂

Loading…
Cancel
Save