会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hello_yong
博客园
首页
新随笔
联系
订阅
管理
2022年11月26日
Nginx同域名下配置多个Vue项目
摘要: # HTTPS server server { listen 443; server_name ************.com; ssl on; ssl_certificate cert/************.com.pem; ssl_certificate_key cert/********
阅读全文
posted @ 2022-11-26 21:26 Hello_yong
阅读(377)
评论(0)
推荐(0)
2020年8月3日
Vue中使用keepAlive不缓存问题(已解决)
摘要: 1.查看app.vue文件,这个是重点,不能忘记加(我就是忘记加了keep-alive) <template> <div> <keep-alive> <router-view v-if="$route.meta.keepAlive"></router-view> </keep-alive> <rou
阅读全文
posted @ 2020-08-03 16:54 Hello_yong
阅读(4995)
评论(0)
推荐(0)
2020年7月28日
Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded datasource could be auto-configured.
摘要: 错误截图: 百度了两天,有的说版本问题,有的说在启动类排除DataSource, 都尝试了,无果。 解决: shell脚本启动命令: nohup java -jar abc.jar --spring.profiles.active=prod &本人配置文件:配置文件与shell启动命令不匹配,配置文
阅读全文
posted @ 2020-07-28 10:34 Hello_yong
阅读(324)
评论(0)
推荐(0)
2020年7月20日
npm run dev 总是自动运行浏览器,怎么关闭?
摘要: 百度了好久都是说: 修改 config/index.js 里面的此属性:autoOpenBrowser: false, (毫无作用,依然还是运行就自动打开!) 解决: npm run dev 时候执行的是build/dev-server.js,npm-opn包去打开浏览器,把如下代码注释掉即可。 /
阅读全文
posted @ 2020-07-20 14:09 Hello_yong
阅读(1215)
评论(0)
推荐(0)
公告