Эх сурвалжийг харах

Merge branch 'feature/routepage' of Epans/calf-feed-pc into develop

Epans 1 жил өмнө
parent
commit
4d99aeb1a8

+ 2 - 2
src/views/Login.vue

@@ -76,8 +76,8 @@ export default {
   data() {
     return {
       loginForm:{
-        user_name:"admin",
-        password:"123456" 
+        user_name:"", //admin
+        password:""  //123456
  
       },
       //表单验证规则

+ 1 - 1
src/views/basicSettings/FeedCarManagement.vue

@@ -458,7 +458,7 @@ export default {
           var send_data = {
               "name": me.addForm.name,
               "number": me.addForm.number,
-              "capacity": me.addForm.capacity,
+              "capacity": parseFloat(me.addForm.capacity),
 
           }
           console.log("弹窗参数:", send_data)