Skip to content

Commit

Permalink
fix: update autofit qrcode
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryZhu-dev committed Jan 24, 2025
1 parent 6811e71 commit b6840aa
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion autofit.js/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</head>
<body>
<div id="app"></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"DlZoci5Y\",\"close.md\":\"BqMW22WA\",\"index.md\":\"CiYER1Gy\",\"question.md\":\"BW0C2alC\",\"theory.md\":\"Bt5g0UsN\",\"use.md\":\"CT1Xbnyl\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/index/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"DlZoci5Y\",\"close.md\":\"BqMW22WA\",\"index.md\":\"CiYER1Gy\",\"question.md\":\"BvYKN9pP\",\"theory.md\":\"Bt5g0UsN\",\"use.md\":\"CT1Xbnyl\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/index/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>

</body>
</html>
2 changes: 1 addition & 1 deletion autofit.js/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p>elRectification 同样也可以解决弹出层偏移问题,只需</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">onMounted</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(() </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> elRectification</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;div[id*=&quot;el-popper-container&quot;]&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p>对于 element-ui 可以直接使用 auto-element 替换原有的 element-ui,auto-element 是对 element-ui 的偏移问题进行了修复,使用方法与 element-ui 一致。</p><p>此方法由仓库成员 <a href="https://github.com/ffgenius" target="_blank" rel="noreferrer">@ffgenius</a> 提供</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> i</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> auto-element</span></span></code></pre></div><p>具体参考:<a href="https://github.com/Auto-Plugin/auto-element/blob/dev/README.md" target="_blank" rel="noreferrer">auto-element</a></p></div></div></main><footer class="VPDocFooter" data-v-93b32803 data-v-7fca0272><!--[--><!--]--><!----><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-7fca0272><span class="visually-hidden" id="doc-footer-aria-label" data-v-7fca0272>Pager</span><div class="pager" data-v-7fca0272><a class="VPLink link pager-link prev" href="/index/autofit.js/use.html" data-v-7fca0272><!--[--><span class="desc" data-v-7fca0272>Previous page</span><span class="title" data-v-7fca0272>即刻使用</span><!--]--></a></div><div class="pager" data-v-7fca0272><a class="VPLink link pager-link next" href="/index/autofit.js/close.html" data-v-7fca0272><!--[--><span class="desc" data-v-7fca0272>Next page</span><span class="title" data-v-7fca0272>关闭 autofit.js</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"DlZoci5Y\",\"close.md\":\"BqMW22WA\",\"index.md\":\"CiYER1Gy\",\"question.md\":\"BW0C2alC\",\"theory.md\":\"Bt5g0UsN\",\"use.md\":\"CT1Xbnyl\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/index/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"DlZoci5Y\",\"close.md\":\"BqMW22WA\",\"index.md\":\"CiYER1Gy\",\"question.md\":\"BvYKN9pP\",\"theory.md\":\"Bt5g0UsN\",\"use.md\":\"CT1Xbnyl\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/index/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>

</body>
</html>
Binary file added autofit.js/assets/c.4frzj2ZV.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions autofit.js/assets/question.md.BvYKN9pP.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions autofit.js/assets/question.md.BvYKN9pP.lean.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b6840aa

Please sign in to comment.