Perf: delete app tip; fix: can't stop debug. (#2865)

* fix: variables check

* remove log

* perf: delete app tip

* perf: remove node code

* fix: can not stop debug

* update version

* update version intro

* fix: per error

* perf: apikey manager

* Add permission check

* update README
This commit is contained in:
Archer
2024-10-10 11:30:36 +08:00
committed by shilin66
parent 983d487af0
commit e06970124a
19 changed files with 163 additions and 237 deletions

View File

@@ -52,8 +52,7 @@ const Account = ({ currentTab }: { currentTab: TabEnum }) => {
}
]
: []),
// ...(feConfigs?.show_pay && userInfo?.team?.permission.hasWritePer
...(feConfigs?.show_pay || userInfo?.team?.permission.hasWritePer
...(feConfigs?.show_pay && userInfo?.team?.permission.hasManagePer
? [
{
icon: 'support/bill/payRecordLight',
@@ -62,8 +61,7 @@ const Account = ({ currentTab }: { currentTab: TabEnum }) => {
}
]
: []),
...(feConfigs?.show_promotion
...(feConfigs?.show_promotion && userInfo?.team?.permission.isOwner
? [
{
icon: 'support/account/promotionLight',
@@ -72,7 +70,7 @@ const Account = ({ currentTab }: { currentTab: TabEnum }) => {
}
]
: []),
...(userInfo?.team?.permission.hasWritePer
...(userInfo?.team?.permission.hasManagePer
? [
{
icon: 'support/outlink/apikeyLight',