Explorar o código

fix:注释代码

wangsisi hai 2 semanas
pai
achega
99b2733007
Modificáronse 1 ficheiros con 10 adicións e 10 borrados
  1. 10 10
      src/views/old_mini/create_farm/index.vue

+ 10 - 10
src/views/old_mini/create_farm/index.vue

@@ -495,16 +495,16 @@ const submitForm = (formEl) => {
                 params.farmId = route.query.farmId;
             }
 
-            if(route.query.type === 'client'){
-                router.push({
-                    path: "/prescription",
-                    query: {
-                        farmId: params.farmId,
-                        containerId: params.containerId,
-                    },
-                });
-                return;
-            }
+            // if(route.query.type === 'client'){
+            //     router.push({
+            //         path: "/prescription",
+            //         query: {
+            //             farmId: params.farmId,
+            //             containerId: params.containerId,
+            //         },
+            //     });
+            //     return;
+            // }
             
             const apiCall = route.query.type === 'edit' 
                 ? VE_API.farm.updateFarm(params)