11 2021 档案
摘要:在外层配置css position: fixed; width: 100%; top: 0px; bottom: 0px; overflow: auto; 结束
阅读全文
摘要:html 头部添加 <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, viewport-fit=cover"> css添加: paddi
阅读全文
摘要:
💖简介 SpringBoot启动时,创建系统托盘,提供打开主程序及退出功能。 📖实现 启动类添加构造函数 public TjtoolApplication() { initUI(); } private void initUI() { if (SystemTray.isSupported())
阅读全文

摘要:
💖简介 Springboot 项目启动自动打开浏览器访问网站设置 📖环境 windows 🌟实现 在需要打开网址的地方添加: // 启动打开默认浏览器访问 try { Runtime.getRuntime().exec("cmd /c start http://localhost:8080/"
阅读全文

摘要:
💖简介 将SpringBoot项目打包jar并打包为exe启动,在无jdk环境下直接运行。 📖操作 SpringBoot打包为可执行jar(这里使用maven install) 注:如果存在前端页面需同时打包(webapp下);需在pom.xml中进行配置 <build> <finalName>
阅读全文
