parent
461530e17d
commit
4db641903d
|
@ -3,7 +3,7 @@
|
||||||
<ms-container>
|
<ms-container>
|
||||||
<ms-main-container style="padding: 0px">
|
<ms-main-container style="padding: 0px">
|
||||||
<div class="api-home-layout">
|
<div class="api-home-layout">
|
||||||
<el-row class="api-home-toolbar">
|
<el-row v-if="showVersionSelector" class="api-home-toolbar">
|
||||||
<el-select
|
<el-select
|
||||||
clearable
|
clearable
|
||||||
v-model="versionId"
|
v-model="versionId"
|
||||||
|
@ -78,6 +78,7 @@ export default {
|
||||||
versionId: '',
|
versionId: '',
|
||||||
projectId: getCurrentProjectID(),
|
projectId: getCurrentProjectID(),
|
||||||
versions: [],
|
versions: [],
|
||||||
|
showVersionSelector: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -85,6 +86,7 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.refreshAllCard();
|
this.refreshAllCard();
|
||||||
});
|
});
|
||||||
|
this.showVersionSelector = hasLicense();
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
versionId() {
|
versionId() {
|
||||||
|
|
Loading…
Reference in New Issue