Skip to content

Commit 124d5c3

Browse files
authored
Merge pull request apache#796 from mayinrain/dev-1.13.0-webank
Dev 1.13.0 webank
2 parents 4cbcd6b + 488df91 commit 124d5c3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

linkis-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
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",

linkis-web/src/apps/linkis/module/globalHistoryManagement/index.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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

0 commit comments

Comments
 (0)