Forráskód Böngészése

fix: vxe编辑bug

ystl_myq 6 hónapja
szülő
commit
92d9b16a8b

+ 4 - 2
src/views/evaluate/children/change/mould/manageObject.vue

@@ -454,10 +454,12 @@ const editConfig = ref({
   mode: "cell",
   showStatus: true,
   beforeEditMethod({ row }) {
+    console.log("编辑123212132", row);
     if (row.valueInput == 4 || row.valueInput == "4") {
       return false;
+    } else {
+      return true;
     }
-    return true;
   }
 });
 const editVxe = reactive({
@@ -891,7 +893,7 @@ const automaticCollectionApi = async () => {
               {{ dayjs(row.updateTime).format("YYYY-MM-DD HH:mm:ss") }}
             </template>
           </vxe-column>
-          <vxe-column field="updateTime" title="操作" fixed="right" width="180">
+          <vxe-column field="" title="操作" fixed="right" width="180">
             <template #default> - </template>
           </vxe-column>
         </vxe-table>