File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
src/apps/linkis/module/globalHistoryManagement Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 2525 },
2626 "dependencies" : {
2727 "@form-create/iview" : " 2.5.27" ,
28- "axios" : " 1.7.4 " ,
28+ "axios" : " 1.8.3 " ,
2929 "dexie" : " 3.2.3" ,
3030 "dt-sql-parser" : " 3.0.5" ,
3131 "highlight.js" : " 10.7.0" ,
Original file line number Diff line number Diff line change 1717
1818<template >
1919 <div class =" global-history" >
20- <div class =" global-history-searchbar" >
20+ <div ref = " searchBar " class =" global-history-searchbar" >
2121 <div class =" searchbar-items" >
2222 <div class =" searchbar-item" >
2323 <label class =" label" >{{$t('message.linkis.jobId')}}</label >
@@ -375,7 +375,6 @@ export default {
375375 }
376376
377377 this .init ()
378- this .moduleHeight = this .$parent .$el .clientHeight - 220
379378 // Monitor window changes and get browser width and height(监听窗口变化,获取浏览器宽高)
380379 window .addEventListener (' resize' , this .getHeight )
381380 },
@@ -478,10 +477,7 @@ export default {
478477
479478 },
480479 getHeight () {
481- this .moduleHeight = this .$parent .$el .clientHeight - 252
482- if (this .showAdvance ) {
483- this .moduleHeight -= 42
484- }
480+ this .moduleHeight = this .$parent .$el .clientHeight - this .$refs .searchBar .offsetHeight - 200 ;
485481 },
486482 clickAdvance () {
487483 this .showAdvance = ! this .showAdvance
You can’t perform that action at this time.
0 commit comments