11 2021 档案

摘要:在外层配置css position: fixed; width: 100%; top: 0px; bottom: 0px; overflow: auto; 结束 阅读全文
posted @ 2021-11-26 11:44 丿似锦 阅读(368) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-11-26 11:42 丿似锦 阅读(1217) 评论(0) 推荐(0)
摘要:&#127872;SpringBoot启动创建系统托盘及功能💖简介 SpringBoot启动时,创建系统托盘,提供打开主程序及退出功能。 📖实现 启动类添加构造函数 public TjtoolApplication() { initUI(); } private void initUI() { if (SystemTray.isSupported()) 阅读全文
posted @ 2021-11-16 18:30 丿似锦 阅读(834) 评论(0) 推荐(0)
摘要:&#127872;springboot 项目启动自动打开浏览器访问网站设置💖简介 Springboot 项目启动自动打开浏览器访问网站设置 📖环境 windows 🌟实现 在需要打开网址的地方添加: // 启动打开默认浏览器访问 try { Runtime.getRuntime().exec("cmd /c start http://localhost:8080/" 阅读全文
posted @ 2021-11-16 18:23 丿似锦 阅读(3237) 评论(1) 推荐(1)
摘要:&#127872;SpringBoot项目打包jar 并打包为exe启动💖简介 将SpringBoot项目打包jar并打包为exe启动,在无jdk环境下直接运行。 📖操作 SpringBoot打包为可执行jar(这里使用maven install) 注:如果存在前端页面需同时打包(webapp下);需在pom.xml中进行配置 <build> <finalName> 阅读全文
posted @ 2021-11-16 18:18 丿似锦 阅读(2711) 评论(0) 推荐(0)