fix: 专业版过期历史记录显示问题

This commit is contained in:
wangdan-fit2cloud 2024-07-30 17:24:31 +08:00
parent 78937f4c48
commit db839887cf
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}
})

View File

@ -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)
}
})