Bläddra i källkod

mod:临时去掉 虚拟遥控器

panqiuyao 8 månader sedan
förälder
incheckning
10b083feb2
2 ändrade filer med 8 tillägg och 10 borttagningar
  1. 1 0
      frontend/src/components/header-bar/index.vue
  2. 7 10
      frontend/src/views/Setting/index.vue

+ 1 - 0
frontend/src/components/header-bar/index.vue

@@ -131,6 +131,7 @@ function closeWindow() {
   justify-content: center;
   align-items: center;
   padding: 2px 10px;
+  min-height: 30px;
   cursor: pointer;
 
   &:hover {

+ 7 - 10
frontend/src/views/Setting/index.vue

@@ -4,10 +4,7 @@
     :menu="[
         {
           type:'setting'
-        },
-        {
-          type:'remoteControl'
-        },
+        }
     ]"
   />
   <div class="container">
@@ -434,7 +431,7 @@ const downList = ref([
   { label: '左右移', value: '3' },
 ]);
 const lefttableData = ref([
- 
+
 ]);
 const righttableData = ref([
 ]);
@@ -574,7 +571,7 @@ const getList = () => {
   });
 }
 const upRow = (row) => {
-  
+
 }
 const downRow = (row) => {
 
@@ -652,7 +649,7 @@ const resetConfig = () => {
 async function changeNum(type){
   if(isDefault.value){
     let socketValue = {
-      'camera_high_motor':'camera_height',  
+      'camera_high_motor':'camera_height',
       'turntable_steering':'turntable_angle',
       'turntable_position_motor':'turntable_position',
       'camera_steering':'camera_angle',
@@ -879,7 +876,7 @@ body {
     cursor: pointer;
   }
 }
-.editDialog{  
+.editDialog{
   .el-dialog__body{
     padding: 0 !important;
   }
@@ -958,7 +955,7 @@ body {
         .el-input__wrapper {
           box-shadow: none;
         }
-        
+
         // 确保number类型输入框的上下箭头始终显示
         input[type="number"]::-webkit-inner-spin-button,
         input[type="number"]::-webkit-outer-spin-button {
@@ -969,7 +966,7 @@ body {
           right: 2px;
           cursor: pointer;
         }
-        
+
         input[type="number"] {
           -moz-appearance: number-input; /* Firefox */
         }