Skip to content

Commit

Permalink
Merge pull request #11233 from vhwweng/issue_11197
Browse files Browse the repository at this point in the history
feat: 流水线插件开发自定义UI希望可以获取到container 的 jobid 属性 #11197
  • Loading branch information
bkci-bot authored Nov 29, 2024
2 parents c77d968 + 7c6d99a commit 5663c1c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
const currentUserInfo = this.$userInfo || {}
const atomDisabled = this.disabled || false
const envConf = await this.getEnvConf()
const query = this.$route.query || {}
this.loading = false
const iframe = document.getElementById('atom-iframe').contentWindow
iframe.postMessage({
Expand All @@ -84,7 +85,8 @@
atomDisabled,
hostInfo: {
...this.$route.params
}
},
query
}, '*')
},
receiveMsgFromIframe (e) {
Expand Down

0 comments on commit 5663c1c

Please sign in to comment.