diff --git a/deploy/nginx.conf.tmpl b/deploy/nginx.conf.tmpl
index 7aefa26cc50d0cf5fcf96128a3dc82ccf6f6d1dc..22039aa20df73234c1a730728b8daed3173f2070 100644
--- a/deploy/nginx.conf.tmpl
+++ b/deploy/nginx.conf.tmpl
@@ -63,6 +63,11 @@ http {
server_name localhost;
charset utf-8;
+ add_header 'Access-Control-Allow-Origin' '*'; # 允许所有源
+ add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE'; # 允许的HTTP方法
+ add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization'; # 允许的请求头
+ add_header 'Access-Control-Expose-Headers' 'Content-Length, Content-Range'; # 允许前端访问的响应头
+
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options nosniff;
add_header Referrer-Policy "no-referrer";
diff --git a/src/components/dialoguePanel/DialoguePanel.vue b/src/components/dialoguePanel/DialoguePanel.vue
index 8d476517d10b2a0293c7abb32f81ba6d56bc8891..75d07c720e07122acd4034a58a54b5e66b154e19 100644
--- a/src/components/dialoguePanel/DialoguePanel.vue
+++ b/src/components/dialoguePanel/DialoguePanel.vue
@@ -124,7 +124,7 @@ const generateContent = (content: string) => {
let result = '';
props.fileList?.forEach((file)=>{
if (file.documentOrder === Number(content)) {
- result += ``;
+ result += `
`;
result += `