src/views/test/paramContent.vue
@@ -8,6 +8,9 @@ startA200ParamPl, } from "./api"; import useElement from "@/hooks/useElement.js"; import testVal from "@/assets/js/testVal.js"; import const_params from "./const_params.js"; const { $alert, $loading, $message, $confirm } = useElement(); const $emit = defineEmits(["update:model-value"]); @@ -92,6 +95,12 @@ message: "不能为空", trigger: "blur", }, { validator(rule, value, callback) { testVal(rule, value, callback, const_params.Rules.batteryNumber); }, trigger: ['blur', 'change'], }, ], diffBatteryVoltage: [ {