huangjn 1 жил өмнө
parent
commit
211565f36a

+ 1 - 2
src/config/index.json

@@ -1,6 +1,5 @@
 {
-  "target1": "http://39.108.216.210:8090",
-  "target": "http://192.168.0.102:8090",
+  "target": "http://192.168.1.228:8090",
   "dev": {
     "port": 1888
   }

+ 1 - 1
src/views/formula/edit.vue

@@ -1438,7 +1438,7 @@ export default {
         }
       }
 
-      if(detail&&detail.scale>=0){
+      if (detail&&detail.scale!=null&&detail.scale>=0){
         this.isRetain = true;
         this.retainNum = detail.scale;
       }else{

+ 1 - 1
src/views/formula/edit1.vue

@@ -1541,7 +1541,7 @@ export default {
         }
       }
 
-    if(detail&&detail.scale>=0){
+    if(detail&&detail.scale!=null&&detail.scale>=0){
         this.isRetain = true;
         this.retainNum = detail.scale;
       }else{

+ 1 - 1
src/views/formula/editnew.vue

@@ -1539,7 +1539,7 @@ export default {
         }
       }
 
-      if(detail&&detail.scale>=0){
+      if (detail&&detail.scale!=null&&detail.scale>=0){
         this.isRetain = true;
         this.retainNum = detail.scale;
       }else{