feat: 修复环境的问题

This commit is contained in:
2026-01-06 11:46:15 +08:00
parent ae2fb40d72
commit 972c777177
8 changed files with 44 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
import { defineStore } from "pinia";
import { devUrl, wssDevUrl } from "../../request/base/baseUrl";
export const useAppStore = defineStore("app", {
state() {
@@ -6,10 +7,10 @@ export const useAppStore = defineStore("app", {
title: "",
sceneId: "", // 分身场景id
previewImageData: [], // 预览图片数据
serverConfig: {
baseUrl: "https://onefeel.brother7.cn/ingress", // 服务器基础地址
wssUrl: "wss://onefeel.brother7.cn/ingress/agent/ws/chat", // 服务器ws地址
}, // 服务器配置
serverConfig: { // 服务器配置
baseUrl: devUrl, // 服务器基础地址
wssUrl: wssDevUrl, // 服务器ws地址
},
};
},
getters: {},