Skip to content

Commit

Permalink
Merge pull request #3083 from hLinx/hotfix_3.9.x
Browse files Browse the repository at this point in the history
Hotfix 3.9.x
  • Loading branch information
hLinx authored Jun 27, 2024
2 parents 632e06f + aa74883 commit b96457a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"keywords": [],
"license": "ISC",
"dependencies": {
"@blueking/ip-selector": "0.3.0-beta.28",
"@blueking/ip-selector": "0.3.0-beta.29",
"@blueking/login-modal": "1.0.4",
"@blueking/notice-component-vue2": "2.0.0-beta.2",
"@blueking/paas-login": "0.0.11",
Expand All @@ -25,7 +25,7 @@
"@vue/composition-api": "1.7.2",
"ace-builds": "1.32.9",
"axios": "1.6.8",
"bk-magic-vue": "2.5.9-beta.34",
"bk-magic-vue": "2.5.9-beta.35",
"core-js": "3.36.1",
"cron-parser-custom": "2.13.0",
"diff": "5.2.0",
Expand Down
10 changes: 10 additions & 0 deletions src/frontend/src/components/task-step/common/rolling/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,16 @@
}
this.popperInstance = undefined;
},
mounted() {
// 因为元素位置的变化导致 tips错位
const handleBodyClick = () => {
this.popperInstance && this.popperInstance.show();
};
document.body.addEventListener('click', handleBodyClick);
this.$once('hook:beforeDestroy', () => {
document.body.removeEventListener('click', handleBodyClick);
});
},
methods: {
showTips() {
if (this.formData[this.serverField].isEmpty) {
Expand Down
2 changes: 0 additions & 2 deletions src/frontend/src/views/dashboard/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@
</script>
<style lang='postcss' scoped>
.dashboard-page {
min-width: max-content;

.operation-bar {
position: relative;
z-index: 1;
Expand Down

0 comments on commit b96457a

Please sign in to comment.