lxf 1 year ago
parent
commit
740e6aa5ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/makeBOM/index.vue

+ 2 - 2
src/components/makeBOM/index.vue

@@ -416,7 +416,7 @@ const addSpecification = () => {
   if (!props.detailStatus) {
     if (formData.data.bomSpecList && formData.data.bomSpecList.length > 0) {
       formData.data.bomSpecList.push({
-        imgFile: [],
+        imgFile: {},
         name: "",
         code: "",
         colour: "",
@@ -432,7 +432,7 @@ const addSpecification = () => {
     } else {
       formData.data.bomSpecList = [
         {
-          imgFile: [],
+          imgFile: {},
           name: "",
           code: "",
           colour: "",