Browse Source

登录清空默认密码

epans 1 year ago
parent
commit
afa33f2dab
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/views/Login.vue
  2. 1 1
      src/views/basicSettings/FeedCarManagement.vue

+ 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)