fix: theme page displays error without management permissions. (#3938)

#### What type of PR is this?
/kind bug
/area console
/milestone 2.6.x

#### What this PR does / why we need it:

#### Which issue(s) this PR fixes:

Fixes #3933 

#### Special notes for your reviewer:

1. 创建一个拥有主题查看而没有主题管理权限的角色,并为某个用户分配这个角色。
2. 使用该用户登录 console,点击主题选项卡查看控制台是否报错。

#### Does this PR introduce a user-facing change?
```release-note
修复没有主题管理权限时,进入主题功能页面报错的问题。
```
pull/3954/head
Li 2023-05-15 14:43:55 +08:00 committed by GitHub
parent 90723f5382
commit 136bd4e91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ watch([() => route.name, () => route.params], async () => {
<template #actions>
<VSpace>
<VButton
v-if="!isActivated"
v-show="!isActivated"
v-permission="['system:themes:manage']"
size="sm"
type="primary"