fix: 专业版过期历史记录显示问题
This commit is contained in:
parent
78937f4c48
commit
db839887cf
@ -187,7 +187,7 @@ function getAppProfile() {
|
|||||||
.asyncGetAppProfile(loading)
|
.asyncGetAppProfile(loading)
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
applicationDetail.value = res.data
|
applicationDetail.value = res.data
|
||||||
if (res.data?.show_history) {
|
if (res.data?.show_history || !user.isEnterprise()) {
|
||||||
getChatLog(applicationDetail.value.id)
|
getChatLog(applicationDetail.value.id)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -225,7 +225,7 @@ function getAppProfile() {
|
|||||||
.asyncGetAppProfile(loading)
|
.asyncGetAppProfile(loading)
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
applicationDetail.value = res.data
|
applicationDetail.value = res.data
|
||||||
if (res.data?.show_history) {
|
if (res.data?.show_history || !user.isEnterprise()) {
|
||||||
getChatLog(applicationDetail.value.id)
|
getChatLog(applicationDetail.value.id)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user