Skip to content

Commit

Permalink
fix: 验收问题修复 (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
leafage-collb authored Jul 17, 2023
1 parent 221addc commit 1b52c23
Show file tree
Hide file tree
Showing 6 changed files with 286 additions and 286 deletions.
11 changes: 5 additions & 6 deletions src/dashboard-front/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -990,12 +990,11 @@
},
goPage (routeName) {
if (routeName) {
this.$router.push({
name: routeName,
params: {
id: routeName === 'index' ? '' : this.apigwId
}
})
const route = { name: routeName }
if (!['index', 'apigwAccess'].includes(routeName)) {
route.params = this.apigwId
}
this.$router.push(route)
}
},
dropdownShow () {
Expand Down
6 changes: 3 additions & 3 deletions src/dashboard-front/src/components/create-version/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<bk-dialog
v-model="versionDialogConf.visiable"
theme="primary"
:width="620"
:width="670"
:mask-close="false"
:header-position="'left'"
:title="versionDialogConf.title"
Expand All @@ -11,7 +11,7 @@
@cancel="handleCancel">
<bk-form
class="mt20 mb10"
style="width: 540px;"
style="width: 590px;"
:label-width="100"
:model="versionParams"
:rules="rules"
Expand All @@ -32,7 +32,7 @@
<template>
<div class="ag-alert" style="line-height: 1;">
<i class="apigateway-icon icon-ag-info"></i>
&nbsp;{{ $t('版本号需符合 Semver 规范') }}
&nbsp;{{ $t('版本号须符合 Semver 规范,例如:1.1.1,1.1.1-alpha.1') }}
</div>
</template>
</bk-form-item>
Expand Down
Loading

0 comments on commit 1b52c23

Please sign in to comment.