mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 专业版过期历史记录显示问题
This commit is contained in:
parent
78937f4c48
commit
db839887cf
|
|
@ -187,7 +187,7 @@ function getAppProfile() {
|
|||
.asyncGetAppProfile(loading)
|
||||
.then((res: any) => {
|
||||
applicationDetail.value = res.data
|
||||
if (res.data?.show_history) {
|
||||
if (res.data?.show_history || !user.isEnterprise()) {
|
||||
getChatLog(applicationDetail.value.id)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ function getAppProfile() {
|
|||
.asyncGetAppProfile(loading)
|
||||
.then((res: any) => {
|
||||
applicationDetail.value = res.data
|
||||
if (res.data?.show_history) {
|
||||
if (res.data?.show_history || !user.isEnterprise()) {
|
||||
getChatLog(applicationDetail.value.id)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue