wuyouming666
2024-05-29 75375a0f68c8b91799482dc1cd2ec7d7f211167f
CanadaMes-ui/src/views/Electrical/ManualonePosition.vue
@@ -200,7 +200,7 @@
  const values = inputData.map(item => item.value);
  console.log(values);
if (values.length > 0) {
@@ -274,6 +274,15 @@
  });
  const values = inputData.map(item => item.value);
  if (values.length > 0) {
let firstValue = values[0];
if (!(firstValue >= "1" && firstValue <= "105")) {
  values.shift();
  this.$message.error("Out of range");
  return false;
}
}
  data.unshift([], []);
  data.push(values);
}
@@ -303,7 +312,7 @@
  if (values.length > 0) {
let firstValue = values[0];
if (!(firstValue >= "106" && firstValue <= "210")) {
if (!(firstValue >= "105" && firstValue <= "210")) {
  values.shift();
  this.$message.error("Out of range");
  return false;