diff --git a/.env.development b/.env.development index 3481496..aaf97dc 100644 --- a/.env.development +++ b/.env.development @@ -2,10 +2,10 @@ VITE_APP_ENV = 'development' # API 基础 URL -VITE_API_BASE_URL = 'https://onefeel.brother7.cn/ingress' +VITE_API_BASE_URL = '/ingress' # API 请求超时时间(毫秒) VITE_API_TIMEOUT_MS = 10000 # Socket 基础 URL -VITE_SOCKET_BASE_URL = "wss://onefeel.brother7.cn/ingress/agent/ws/chat" \ No newline at end of file +VITE_SOCKET_BASE_URL = "/ingress/agent/ws/chat" diff --git a/components.d.ts b/components.d.ts index 3504323..ed43cf8 100644 --- a/components.d.ts +++ b/components.d.ts @@ -39,7 +39,7 @@ declare module 'vue' { RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] ServiceTipsWord: typeof import('./src/components/ServiceTipsWord/index.vue')['default'] - SpriteAnimator: typeof import('./src/components/Sprite/SpriteAnimator.vue')['default'] + SpriteAnimator: typeof import('./src/components/SpriteAnimator/index.vue')['default'] Stepper: typeof import('./src/components/Stepper/index.vue')['default'] SumCard: typeof import('./src/components/SumCard/index.vue')['default'] SurveyQuestionnaire: typeof import('./src/components/SurveyQuestionnaire/index.vue')['default'] @@ -83,7 +83,7 @@ declare global { const RouterLink: typeof import('vue-router')['RouterLink'] const RouterView: typeof import('vue-router')['RouterView'] const ServiceTipsWord: typeof import('./src/components/ServiceTipsWord/index.vue')['default'] - const SpriteAnimator: typeof import('./src/components/Sprite/SpriteAnimator.vue')['default'] + const SpriteAnimator: typeof import('./src/components/SpriteAnimator/index.vue')['default'] const Stepper: typeof import('./src/components/Stepper/index.vue')['default'] const SumCard: typeof import('./src/components/SumCard/index.vue')['default'] const SurveyQuestionnaire: typeof import('./src/components/SurveyQuestionnaire/index.vue')['default'] diff --git a/src/components/Sprite/SpriteAnimator.vue b/src/components/SpriteAnimator/index.vue similarity index 100% rename from src/components/Sprite/SpriteAnimator.vue rename to src/components/SpriteAnimator/index.vue diff --git a/src/pages/home/components/ChatMainList/index.vue b/src/pages/home/components/ChatMainList/index.vue index a466ea2..038d56e 100644 --- a/src/pages/home/components/ChatMainList/index.vue +++ b/src/pages/home/components/ChatMainList/index.vue @@ -1,153 +1,14 @@