Skip to content

Commit

Permalink
Merge pull request #11035 from vhwweng/issue_10938
Browse files Browse the repository at this point in the history
feat:支持查看版本日志 #10938
  • Loading branch information
bkci-bot authored Oct 18, 2024
2 parents 25792fd + f6795f7 commit dd483c3
Show file tree
Hide file tree
Showing 8 changed files with 476 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
:data="tableData"
:columns="columns"
height="100%"
max-height="100%"
show-overflow-tooltip
:key="resourceType"
:pagination="pagination"
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/devops-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"vue-router": "3.6.5",
"vuex": "3.6.2",
"vuex-class": "^0.3.0",
"vuex-typescript-interface": "^1.0.3"
"vuex-typescript-interface": "^1.0.3",
"markdown-it": "^14.1.0"
},
"nx": {
"targets": {
Expand Down
19 changes: 18 additions & 1 deletion src/frontend/devops-nav/src/components/Header/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@
>
{{ $t('documentation') }}
</li>
<li
class="bkci-dropdown-item"
@click.stop="toggleShowVersionLog(true)"
>
{{ $t('releaseNotes') }}
</li>
<li
class="bkci-dropdown-item"
@click.stop="goToFeedBack"
Expand All @@ -197,6 +203,10 @@
:title="projectDialogTitle"
/>
<apply-project-dialog ref="applyProjectDialog"></apply-project-dialog>
<system-log
:show-system-log="showSystemLog"
:toggle-show-log="toggleShowVersionLog"
/>
</div>
</template>

Expand All @@ -210,6 +220,7 @@
import LocaleSwitcher from '../LocaleSwitcher/index.vue'
import Logo from '../Logo/index.vue'
import ProjectDialog from '../ProjectDialog/index.vue'
import SystemLog from '../SystemLog/index.vue'
import DevopsSelect from '../Select/index.vue'
import User from '../User/index.vue'
import NavMenu from './NavMenu.vue'
Expand All @@ -222,7 +233,8 @@
ApplyProjectDialog,
Logo,
DevopsSelect,
LocaleSwitcher
LocaleSwitcher,
SystemLog
}
})
export default class Header extends Vue {
Expand All @@ -240,6 +252,7 @@
isDropdownMenuVisible: boolean = false
isShowTooltip: boolean = true
showSystemLog: boolean = false
langs: Array<any> = [
{
icon: 'english',
Expand Down Expand Up @@ -443,6 +456,10 @@
handleHide () {
this.togglePopupShow(false)
}
toggleShowVersionLog (value: boolean) {
this.showSystemLog = value
}
}
</script>

Expand Down
Loading

0 comments on commit dd483c3

Please sign in to comment.