自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 IDEA中项目中根据不同配置文件,启用不同的端口(Eureka篇)

打开program arguments, 输入--spring.profiles.active=eureka1, --spring.profiles.active是固定写法,eureka1是对应yml文件的名字。以eureka服务中心配置文件为例,创建2个不同的配置文件,继承application.yml。加上对应不同的端口,这样就实现了,同一个项目中,使用不同的端口去跑不同的配置文件。接着点击idea右上角的Edit Configurations。然后同理在刚刚复制的配置中。紧接着复制一份配置文件。

2022-10-22 21:06:52 759

原创 Vue3x+ElementPlus的按需引入

在vue.config.js中 configureWebpack: { plugins: [ AutoImport({ resolvers: [ElementPlusResolver()], }), Components({ resolvers: [ElementPlusResolver()], })] }然后在

2022-05-11 07:06:25 327

原创 Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file -

springboot聚合项目出现报错Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\Users\ClayAwky\Desktop\VPN Website\VPN-management\vpn-a

2022-05-10 22:29:30 1548

原创 - options has an unknown property ‘data‘. These properties are valid: object { implementation?,

Vue.config.js报错Syntax Error: ValidationError: Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.- options has an unknown property 'data'. These properties are valid: object { implemen...

2022-05-10 22:23:32 1709

原创 解决Vue中Object.assign清空数据的报错

想清空Vue中的data数据报错也许是没有改变this指向的原因可以试着用call等方便改变this指向例如Object.assign(this.$data,this.$options.data.call(this))如果只是想清楚其中某条数据可以使用this.xxx=this.$options.data.call(this).xxxx...

2021-08-20 13:37:32 1109

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除