Parcourir la source

Merge branch 'master' of http://www.sysuimars.cn:3000/feiniao/feiniao-farm-h5

lxf il y a 2 semaines
Parent
commit
28889f290f
1 fichiers modifiés avec 10 ajouts et 10 suppressions
  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)