bug 处理

This commit is contained in:
13405411873 2025-04-16 00:06:21 +08:00
parent 809faf1eed
commit a9e48ef6b9

View File

@ -243,13 +243,13 @@ export default {
], ],
// //
rules: { rules: {
// filePath: [ filePath: [
// { {
// required: true, required: true,
// message: "", message: "扫描文件不能为空",
// trigger: "blur", trigger: "blur",
// }, },
// ], ],
scanPosition: [ scanPosition: [
{ {
@ -329,10 +329,10 @@ export default {
submitForm() { submitForm() {
let flag = false; let flag = false;
this.form.forEach(it=>{ this.form.forEach(it=>{
// if (!it.filePath){ if (!it.filePath){
// flag = true flag = true
// this.$modal.msgError(""); this.$modal.msgError("请上传文件");
// } }
if (!it.scanPosition){ if (!it.scanPosition){
flag = true flag = true
this.$modal.msgError("请输入扫描地点"); this.$modal.msgError("请输入扫描地点");