Commit 6be0b6e7 authored by chenghong_tao's avatar chenghong_tao

Merge remote-tracking branch 'origin/release/xiao'

parents 31a05c80 26d86233
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/avatarAI.svg" /> <link rel="icon" type="image/svg+xml" href="./avatarAI.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI助手</title> <title>AI助手</title>
</head> </head>
......
...@@ -78,7 +78,7 @@ import { ElMessage } from "element-plus"; ...@@ -78,7 +78,7 @@ import { ElMessage } from "element-plus";
const taskStore = useTaskStore(); const taskStore = useTaskStore();
const { startStream, cancel, data, error, isLoading } = useXStream(); const { startStream, cancel, data, error, isLoading } = useXStream();
const avatarAi = "/avatarAI.svg"; const avatarAi = "./avatarAI.svg";
const props = defineProps({ const props = defineProps({
query: { query: {
......
...@@ -13,5 +13,5 @@ const props = defineProps({ ...@@ -13,5 +13,5 @@ const props = defineProps({
default: "", default: "",
}, },
}); });
const avatarUser = "/avatarUser.svg"; const avatarUser = "./avatarUser.svg";
</script> </script>
...@@ -22,7 +22,7 @@ import { Refresh, Search, Star, DocumentCopy } from "@element-plus/icons-vue"; ...@@ -22,7 +22,7 @@ import { Refresh, Search, Star, DocumentCopy } from "@element-plus/icons-vue";
import { Bubble } from "vue-element-plus-x"; import { Bubble } from "vue-element-plus-x";
import difyApi from "../../apis/difyApi"; import difyApi from "../../apis/difyApi";
const avatarAi = "/avatarAI.svg"; const avatarAi = "./avatarAI.svg";
const props = defineProps({ const props = defineProps({
appParams: { appParams: {
type: Object, type: Object,
......
export default { export default {
DIFY_URL: '/v1', DIFY_URL: './v1',
API_KEY: 'app-7HghtszMdnxVOtMdZtZoOEUK', API_KEY: 'app-7HghtszMdnxVOtMdZtZoOEUK',
USER_ID: 'asset_user' USER_ID: 'asset_user'
} }
...@@ -5,7 +5,9 @@ import Components from 'unplugin-vue-components/vite' ...@@ -5,7 +5,9 @@ import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers' import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
// https://vite.dev/config/ // https://vite.dev/config/
const BASE_PATH = process.env.REACT_APP_BASE_PATH || '/';
export default defineConfig({ export default defineConfig({
base: BASE_PATH,
plugins: [ plugins: [
vue(), vue(),
AutoImport({ AutoImport({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment