add: 跨域文档补充

This commit is contained in:
liyulin 2023-03-23 13:50:26 +08:00
parent 57e7e3457a
commit e6468763b9
14 changed files with 43 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as A,c as E,o as I,Q as C}from"./chunks/framework.1612f957.js";const t=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/faq.md"}'),Q={name:"guide/faq.md"},i=C("",20),B=[i];function s(e,g,n,l,J,k){return I(),E("div",null,B)}const R=A(Q,[["render",s]]);export{t as __pageData,R as default};

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@
<span class="line"><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C792EA;">minColLength</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">:</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">20</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><h2 id="staticfileurl-pdf" tabindex="-1">staticFileUrl [pdf] <a class="header-anchor" href="#staticfileurl-pdf" aria-label="Permalink to &quot;staticFileUrl [pdf]&quot;"></a></h2><ul><li> String</li></ul><p>pdfbcmap <a href="https://unpkg.com/pdfjs-dist@3.1.81/" target="_blank" rel="noreferrer">https://unpkg.com/pdfjs-dist@3.1.81/</a> bcmap</p><p>githubexamples/public/cmapscmapsstaticFileUrlcmapshttphttps <a href="http://yourdomain/static/" target="_blank" rel="noreferrer">http://yourdomain/static/</a></p></div></div></main><footer class="VPDocFooter" data-v-577a912e data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/vue-office/examples/docs/config/event.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a></span></a></div></div></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"fb9fee08\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_preview-xlsx.md\":\"2a8a4b68\",\"config_event.md\":\"d08100fe\",\"config_index.md\":\"c35b64bb\",\"guide_contact.md\":\"ced9e44d\",\"guide_preview-pdf.md\":\"1182152d\",\"guide_faq.md\":\"3d8a2c63\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide_preview-xlsx.md\":\"2a8a4b68\",\"guide_preview-pdf.md\":\"1182152d\",\"config_index.md\":\"c35b64bb\",\"index.md\":\"fb9fee08\",\"config_event.md\":\"d08100fe\",\"guide_contact.md\":\"ced9e44d\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_faq.md\":\"121cbd1a\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"vue-office\",\"description\":\"更简单的office文件预览\",\"base\":\"/vue-office/examples/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"指南\",\"link\":\"/guide/\"},{\"text\":\"配置参考\",\"link\":\"/config/\"},{\"text\":\"演示预览效果\",\"link\":\"https://501351981.github.io/vue-office/examples/dist/\"}],\"outlineTitle\":\"跳转到\",\"docFooter\":{\"next\":\"下一页\",\"prev\":\"上一页\"},\"sidebar\":{\"/guide\":[{\"text\":\"指南\",\"items\":[{\"text\":\"快速上手\",\"link\":\"/guide/\"},{\"text\":\"docx文件预览\",\"link\":\"/guide/preview-docx\"},{\"text\":\"xlsx文件预览\",\"link\":\"/guide/preview-xlsx\"},{\"text\":\"pdf文件预览\",\"link\":\"/guide/preview-pdf\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"联系我\",\"link\":\"/guide/contact\"}]}],\"/config\":[{\"text\":\"配置参考\",\"items\":[{\"text\":\"属性\",\"link\":\"/config/\"},{\"text\":\"事件\",\"link\":\"/config/event\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/501351981/vue-office\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
</body>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -135,7 +135,7 @@
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">script</span><span style="color:#89DDFF;">&gt;</span></span>
<span class="line"></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-577a912e data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/vue-office/examples/docs/guide/preview-docx.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a>docx</span></a></div></div></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"fb9fee08\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_preview-xlsx.md\":\"2a8a4b68\",\"config_event.md\":\"d08100fe\",\"config_index.md\":\"c35b64bb\",\"guide_contact.md\":\"ced9e44d\",\"guide_preview-pdf.md\":\"1182152d\",\"guide_faq.md\":\"3d8a2c63\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide_preview-xlsx.md\":\"2a8a4b68\",\"guide_preview-pdf.md\":\"1182152d\",\"config_index.md\":\"c35b64bb\",\"index.md\":\"fb9fee08\",\"config_event.md\":\"d08100fe\",\"guide_contact.md\":\"ced9e44d\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_faq.md\":\"121cbd1a\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"vue-office\",\"description\":\"更简单的office文件预览\",\"base\":\"/vue-office/examples/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"指南\",\"link\":\"/guide/\"},{\"text\":\"配置参考\",\"link\":\"/config/\"},{\"text\":\"演示预览效果\",\"link\":\"https://501351981.github.io/vue-office/examples/dist/\"}],\"outlineTitle\":\"跳转到\",\"docFooter\":{\"next\":\"下一页\",\"prev\":\"上一页\"},\"sidebar\":{\"/guide\":[{\"text\":\"指南\",\"items\":[{\"text\":\"快速上手\",\"link\":\"/guide/\"},{\"text\":\"docx文件预览\",\"link\":\"/guide/preview-docx\"},{\"text\":\"xlsx文件预览\",\"link\":\"/guide/preview-xlsx\"},{\"text\":\"pdf文件预览\",\"link\":\"/guide/preview-pdf\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"联系我\",\"link\":\"/guide/contact\"}]}],\"/config\":[{\"text\":\"配置参考\",\"items\":[{\"text\":\"属性\",\"link\":\"/config/\"},{\"text\":\"事件\",\"link\":\"/config/event\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/501351981/vue-office\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
</body>

View File

@ -126,7 +126,7 @@
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">script</span><span style="color:#89DDFF;">&gt;</span></span>
<span class="line"></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-577a912e data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><a class="pager-link prev" href="/vue-office/examples/docs/guide/" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a></span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/vue-office/examples/docs/guide/preview-xlsx.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a>xlsx</span></a></div></div></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"fb9fee08\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_preview-xlsx.md\":\"2a8a4b68\",\"config_event.md\":\"d08100fe\",\"config_index.md\":\"c35b64bb\",\"guide_contact.md\":\"ced9e44d\",\"guide_preview-pdf.md\":\"1182152d\",\"guide_faq.md\":\"3d8a2c63\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide_preview-xlsx.md\":\"2a8a4b68\",\"guide_preview-pdf.md\":\"1182152d\",\"config_index.md\":\"c35b64bb\",\"index.md\":\"fb9fee08\",\"config_event.md\":\"d08100fe\",\"guide_contact.md\":\"ced9e44d\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_faq.md\":\"121cbd1a\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"vue-office\",\"description\":\"更简单的office文件预览\",\"base\":\"/vue-office/examples/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"指南\",\"link\":\"/guide/\"},{\"text\":\"配置参考\",\"link\":\"/config/\"},{\"text\":\"演示预览效果\",\"link\":\"https://501351981.github.io/vue-office/examples/dist/\"}],\"outlineTitle\":\"跳转到\",\"docFooter\":{\"next\":\"下一页\",\"prev\":\"上一页\"},\"sidebar\":{\"/guide\":[{\"text\":\"指南\",\"items\":[{\"text\":\"快速上手\",\"link\":\"/guide/\"},{\"text\":\"docx文件预览\",\"link\":\"/guide/preview-docx\"},{\"text\":\"xlsx文件预览\",\"link\":\"/guide/preview-xlsx\"},{\"text\":\"pdf文件预览\",\"link\":\"/guide/preview-pdf\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"联系我\",\"link\":\"/guide/contact\"}]}],\"/config\":[{\"text\":\"配置参考\",\"items\":[{\"text\":\"属性\",\"link\":\"/config/\"},{\"text\":\"事件\",\"link\":\"/config/event\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/501351981/vue-office\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
</body>

View File

@ -46,7 +46,7 @@
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">script</span><span style="color:#89DDFF;">&gt;</span></span>
<span class="line"></span></code></pre></div><h2 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to &quot;&quot;"></a></h2><p>docxArrayBuffersrc</p></div></div></main><footer class="VPDocFooter" data-v-577a912e data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><a class="pager-link prev" href="/vue-office/examples/docs/guide/preview-xlsx.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a>xlsx</span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/vue-office/examples/docs/guide/faq.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a></span></a></div></div></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"fb9fee08\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_preview-xlsx.md\":\"2a8a4b68\",\"config_event.md\":\"d08100fe\",\"config_index.md\":\"c35b64bb\",\"guide_contact.md\":\"ced9e44d\",\"guide_preview-pdf.md\":\"1182152d\",\"guide_faq.md\":\"3d8a2c63\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide_preview-xlsx.md\":\"2a8a4b68\",\"guide_preview-pdf.md\":\"1182152d\",\"config_index.md\":\"c35b64bb\",\"index.md\":\"fb9fee08\",\"config_event.md\":\"d08100fe\",\"guide_contact.md\":\"ced9e44d\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_faq.md\":\"121cbd1a\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"vue-office\",\"description\":\"更简单的office文件预览\",\"base\":\"/vue-office/examples/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"指南\",\"link\":\"/guide/\"},{\"text\":\"配置参考\",\"link\":\"/config/\"},{\"text\":\"演示预览效果\",\"link\":\"https://501351981.github.io/vue-office/examples/dist/\"}],\"outlineTitle\":\"跳转到\",\"docFooter\":{\"next\":\"下一页\",\"prev\":\"上一页\"},\"sidebar\":{\"/guide\":[{\"text\":\"指南\",\"items\":[{\"text\":\"快速上手\",\"link\":\"/guide/\"},{\"text\":\"docx文件预览\",\"link\":\"/guide/preview-docx\"},{\"text\":\"xlsx文件预览\",\"link\":\"/guide/preview-xlsx\"},{\"text\":\"pdf文件预览\",\"link\":\"/guide/preview-pdf\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"联系我\",\"link\":\"/guide/contact\"}]}],\"/config\":[{\"text\":\"配置参考\",\"items\":[{\"text\":\"属性\",\"link\":\"/config/\"},{\"text\":\"事件\",\"link\":\"/config/event\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/501351981/vue-office\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
</body>

View File

@ -49,7 +49,7 @@
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">script</span><span style="color:#89DDFF;">&gt;</span></span>
<span class="line"></span></code></pre></div><h2 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to &quot;&quot;"></a></h2><p>docxArrayBuffersrc</p></div></div></main><footer class="VPDocFooter" data-v-577a912e data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><a class="pager-link prev" href="/vue-office/examples/docs/guide/preview-docx.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a>docx</span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/vue-office/examples/docs/guide/preview-pdf.html" data-v-face870a><span class="desc" data-v-face870a></span><span class="title" data-v-face870a>pdf</span></a></div></div></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"fb9fee08\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_preview-xlsx.md\":\"2a8a4b68\",\"config_event.md\":\"d08100fe\",\"config_index.md\":\"c35b64bb\",\"guide_contact.md\":\"ced9e44d\",\"guide_preview-pdf.md\":\"1182152d\",\"guide_faq.md\":\"3d8a2c63\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide_preview-xlsx.md\":\"2a8a4b68\",\"guide_preview-pdf.md\":\"1182152d\",\"config_index.md\":\"c35b64bb\",\"index.md\":\"fb9fee08\",\"config_event.md\":\"d08100fe\",\"guide_contact.md\":\"ced9e44d\",\"guide_index.md\":\"425949a3\",\"guide_preview-docx.md\":\"5e6e0ada\",\"guide_faq.md\":\"121cbd1a\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"vue-office\",\"description\":\"更简单的office文件预览\",\"base\":\"/vue-office/examples/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"指南\",\"link\":\"/guide/\"},{\"text\":\"配置参考\",\"link\":\"/config/\"},{\"text\":\"演示预览效果\",\"link\":\"https://501351981.github.io/vue-office/examples/dist/\"}],\"outlineTitle\":\"跳转到\",\"docFooter\":{\"next\":\"下一页\",\"prev\":\"上一页\"},\"sidebar\":{\"/guide\":[{\"text\":\"指南\",\"items\":[{\"text\":\"快速上手\",\"link\":\"/guide/\"},{\"text\":\"docx文件预览\",\"link\":\"/guide/preview-docx\"},{\"text\":\"xlsx文件预览\",\"link\":\"/guide/preview-xlsx\"},{\"text\":\"pdf文件预览\",\"link\":\"/guide/preview-pdf\"},{\"text\":\"常见问题\",\"link\":\"/guide/faq\"},{\"text\":\"联系我\",\"link\":\"/guide/contact\"}]}],\"/config\":[{\"text\":\"配置参考\",\"items\":[{\"text\":\"属性\",\"link\":\"/config/\"},{\"text\":\"事件\",\"link\":\"/config/event\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/501351981/vue-office\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}")</script>
</body>

View File

@ -1 +1 @@
{"index.md":"fb9fee08","guide_index.md":"425949a3","guide_preview-docx.md":"5e6e0ada","guide_preview-xlsx.md":"2a8a4b68","config_event.md":"d08100fe","config_index.md":"c35b64bb","guide_contact.md":"ced9e44d","guide_preview-pdf.md":"1182152d","guide_faq.md":"3d8a2c63"}
{"guide_preview-xlsx.md":"2a8a4b68","guide_preview-pdf.md":"1182152d","config_index.md":"c35b64bb","index.md":"fb9fee08","config_event.md":"d08100fe","guide_contact.md":"ced9e44d","guide_index.md":"425949a3","guide_preview-docx.md":"5e6e0ada","guide_faq.md":"121cbd1a"}

File diff suppressed because one or more lines are too long