Browse Source

fix: 预览生成Pdf路径问题

过卫栋 2 ngày trước cách đây
mục cha
commit
593d94d821
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/views/tools/question-preview.blade.php

+ 1 - 1
resources/views/tools/question-preview.blade.php

@@ -423,7 +423,7 @@
                     this.pdfUrl = '';
 
                     try {
-                        const response = await fetch('{{ route("tools.question-preview.pdf") }}', {
+                        const response = await fetch('/tools/question-preview/pdf', {
                             method: 'POST',
                             headers: {
                                 'Content-Type': 'application/json',