fix: The conversation page cannot be opened (#3770)
This commit is contained in:
parent
caa08e136f
commit
5022b2a872
@ -3,7 +3,7 @@ import applicationApi from '@/api/application/application'
|
|||||||
import { type Ref } from 'vue'
|
import { type Ref } from 'vue'
|
||||||
const useApplicationStore = defineStore('application', {
|
const useApplicationStore = defineStore('application', {
|
||||||
state: () => ({
|
state: () => ({
|
||||||
location: `${window.location.origin}${window.MaxKB.chatPrefix}/`,
|
location: `${window.location.origin}${window.MaxKB.chatPrefix ? window.MaxKB.chatPrefix : window.MaxKB.prefix}/`,
|
||||||
}),
|
}),
|
||||||
actions: {
|
actions: {
|
||||||
async asyncGetApplicationDetail(id: string, loading?: Ref<boolean>) {
|
async asyncGetApplicationDetail(id: string, loading?: Ref<boolean>) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user