We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f04b99 commit cf8df8aCopy full SHA for cf8df8a
ui/src/layout/layout-header/top-about/index.vue
@@ -1,6 +1,8 @@
1
<template>
2
<div class="flex align-center">
3
- <el-button round @click="toUrl('https://maxkb.cn/pricing.html')" class="pricing-button mr-8">
+ <el-button round @click="toUrl('https://maxkb.cn/pricing.html')" class="pricing-button mr-8"
4
+ v-hasPermission="EditionConst.IS_CE"
5
+ >
6
<AppIcon iconName="app-pricing" class="mr-8"></AppIcon>
7
{{ $t('common.upgrade') }}
8
</el-button>
@@ -47,6 +49,7 @@
47
49
</template>
48
50
<script setup lang="ts">
51
import useStore from '@/stores'
52
+import { EditionConst, RoleConst } from '@/utils/permission/data';
53
const { theme, user } = useStore()
54
55
function toUrl(url: string) {
0 commit comments