Kaynağa Gözat

代码优化

Yue 2 yıl önce
ebeveyn
işleme
1533a208c8

+ 12 - 14
UI/VA.Vue_V1.0/src/components/table/table-partials/table-toolbar/TableSearchFrom.vue

@@ -69,20 +69,18 @@ function resetForm() {
       </template>
       <template #searchbtn>
         <el-col :span="tableSearchBtnSpan">
-          <el-form-item>
-            <el-button class="btn btn-primary" @click="customSearch">
-              <template #icon>
-                <KTIcon icon-name="magnifier" icon-type="solid"></KTIcon>
-              </template>
-              搜索
-            </el-button>
-            <el-button class="btn btn-light-primary" @click="resetForm">
-              <template #icon>
-                <KTIcon icon-name="arrows-loop" icon-type="solid"></KTIcon>
-              </template>
-              重置
-            </el-button>
-          </el-form-item>
+          <el-button class="btn btn-primary" @click="customSearch">
+            <template #icon>
+              <KTIcon icon-name="magnifier" icon-type="solid"></KTIcon>
+            </template>
+            搜索
+          </el-button>
+          <el-button class="btn btn-light-primary" @click="resetForm">
+            <template #icon>
+              <KTIcon icon-name="arrows-loop" icon-type="solid"></KTIcon>
+            </template>
+            重置
+          </el-button>
         </el-col>
       </template>
     </VbForm>

+ 0 - 1
UI/VA.Vue_V1.0/src/layouts/main-layout/tagView/ScrollPane.vue

@@ -63,7 +63,6 @@ function moveToTarget(currentTag: any) {
       $scrollWrapper.scrollLeft = beforePrevTagOffsetLeft
     }
   }
-  console.log("scrollWrapper", $scrollWrapper.scrollLeft, $scrollWrapper.scrollWidth, $containerWidth)
 }
 onMounted(() => {
   scrollWrapper.value?.addEventListener("scroll", emitScroll, true)

+ 1 - 1
UI/VA.Vue_V1.0/src/views/monitor/server/index.vue

@@ -5,7 +5,7 @@ function init() {
   message.loading("正在加载服务监控数据,请稍候!")
   apis.monitor.serverApi.getServer().then((res) => {
     server.value = res.data
-    console.log("SERVER", res.data)
+    //console.log("SERVER", res.data)
     message.closeLoading()
   })
 }