@@ -1328,13 +1328,13 @@ function getHtmlContent(modelIds, tavilyKeys, title) {
13281328 <title>OpenAI Chat</title>
13291329
13301330 <!-- Favicon -->
1331- <link rel="icon" type="image/svg+xml" href="favicon.svg?v=1 " />
1331+ <link rel="icon" type="image/svg+xml" href="favicon.svg" />
13321332
13331333 <!-- Web App Manifest -->
1334- <link rel="manifest" href="site.webmanifest?v=1 " />
1334+ <link rel="manifest" href="site.webmanifest" />
13351335
13361336 <!-- iOS Safari -->
1337- <link rel="apple-touch-icon" href="favicon.svg?v=1 " />
1337+ <link rel="apple-touch-icon" href="favicon.svg" />
13381338 <meta name="apple-mobile-web-app-capable" content="yes" />
13391339 <meta name="apple-mobile-web-app-status-bar-style" content="default" />
13401340 <meta name="apple-mobile-web-app-title" content="OpenAI Chat" />
@@ -2594,7 +2594,7 @@ function getHtmlContent(modelIds, tavilyKeys, title) {
25942594 <div class="header">
25952595 <h2 @click="showAbout" style="cursor: pointer">
25962596 <img
2597- src="./favicon.svg?v=1 "
2597+ src="./favicon.svg"
25982598 alt=""
25992599 width="24"
26002600 height="24"
@@ -2910,8 +2910,8 @@ function getHtmlContent(modelIds, tavilyKeys, title) {
29102910 <button
29112911 class="upload-image-btn"
29122912 @click="triggerImageUpload"
2913- :disabled="!canInput || uploadedImages.length >= 2 || isUploadingImage"
2914- :title="uploadedImages.length >= 2 ? '最多上传2张图片 ' : '上传图片'"
2913+ :disabled="!canInput || uploadedImages.length >= 3 || isUploadingImage"
2914+ :title="uploadedImages.length >= 3 ? '最多上传3张图片 ' : '上传图片'"
29152915 >
29162916 📎
29172917 </button>
@@ -3664,7 +3664,7 @@ function getHtmlContent(modelIds, tavilyKeys, title) {
36643664
36653665 // 触发图片上传
36663666 triggerImageUpload() {
3667- if (this.uploadedImages.length >= 2 ) return;
3667+ if (this.uploadedImages.length >= 3 ) return;
36683668 this.preheatImageUploadService();
36693669 this.$refs.imageInput.click();
36703670 },
@@ -3693,10 +3693,10 @@ function getHtmlContent(modelIds, tavilyKeys, title) {
36933693 event.preventDefault(); // 阻止默认粘贴行为
36943694
36953695 // 检查是否已达到上传限制
3696- if (this.uploadedImages.length >= 2 ) {
3696+ if (this.uploadedImages.length >= 3 ) {
36973697 Swal.fire({
36983698 title: '无法上传',
3699- text: '最多只能上传2张图片 ',
3699+ text: '最多只能上传3张图片 ',
37003700 icon: 'warning',
37013701 confirmButtonText: '确定'
37023702 });
0 commit comments