diff --git a/README.md b/README.md index e4bba80..6d2e8f5 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ > 🙌 Special thanks to BeJSON 前站长 `三叔` 的慧眼与支持,让项目得以脱颖而出,感恩! - + ## 功能特性 diff --git a/newui_version_3.png b/newui_version_3.png new file mode 100644 index 0000000..09e2d83 Binary files /dev/null and b/newui_version_3.png differ diff --git a/src/main/resources/statics/js/app.js b/src/main/resources/statics/js/app.js index 603fcd9..84e93fa 100644 --- a/src/main/resources/statics/js/app.js +++ b/src/main/resources/statics/js/app.js @@ -508,6 +508,10 @@ if (state.oemOutputStr) { setOutput(state.oemOutputStr); } + // ?autogen=1:进入页面即自动生成一次,可用于演示链接与整页截图 + if (/[?&]autogen=1\b/.test(window.location.search)) { + setTimeout(function () { generate(); }, 600); + } } /* ============================== public api ============================== */ diff --git a/src/main/resources/templates/newui3.html b/src/main/resources/templates/newui3.html index 993580f..62c6e24 100644 --- a/src/main/resources/templates/newui3.html +++ b/src/main/resources/templates/newui3.html @@ -374,7 +374,7 @@
${(value.copyright)!!}
- +