浏览代码

fix:注释代码

wangsisi 2 周之前
父节点
当前提交
99b2733007
共有 1 个文件被更改,包括 10 次插入10 次删除
  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)