logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Eureka客户端启动失败!@EnableEurekaClient注解无效?客户端注册失败?

神坑之处:如果使用的springboot和springcloud版本较新 。引入spring-cloud-starter-netflix-eureka-client时需指定version版本。否则会导致jar报无法下载。从而导致客户端无法注册。错误的延伸:pring-cloud-starter-netflix-eureka-client下载失败,首要表现便是@EnableEyrek...

zuul.ignoredServices=*是什么意思?

Spring Cloud Zuul 与 Spring Cloud Eureka 可以实现无缝对接实现面向服务的路由。我们让路由的path映射到具体的服务上,而具体的url交由Eureka的服务发现机制去自动维护。实现的路由格式相当于http://ZUUL_HOST:ZUUL_PORT/微服务在Eureka上的serviceId/** 。这样会将所有的接口都暴露出来。虽然方便性较高但安全性低。而zu

Avoid mutating a prop directly since the value will be overwritten whenever the paren

 [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the paren 在vue2.0中子组件触发改变值的时候vue组件会报出例如:Avoid mutating a prop directly since the value will be overwritte...

The computed property "fields" is already defined in data.

[Vue warn]: The computed property "fields" is already defined in data.背景在使用Vue开发时,遇到了这样一个问题。如下所示:[Vue warn]: The computed property "fields" is already defined in data.image.png问题分析

Error in render: "TypeError: Cannot read property 'XXXXX' of undefined"

        最近,小弟在使用vue开发界面时,出现一个有趣问题:功能正常使用,但F12却报出一个XXX Undefined的错误。这个错误已经见了无数次,于是果断去Ctrl+F搜索XXX,仔细浏览一圈后发现xxx明明是定义了的。整体流程:界面渲染前先通过mounted加载数据,然后绑定数据进行界面渲染。没毛病啊!难道是mounted偷懒了,果断换成created。但是还是有这个问题,为什么呢,

【VUE 报错】Mixed spaces and tabs

初步接触VUE,在开发过程中,会经常发现一启动项目就会报一堆空格使用错误,虽然不影响运行,但给人编码体验贼差。怎么解决呢,很简单。这是因为你使用 ESLint,用来规范代码风格的。你的 Webpack 配置中大概是使用了eslint-loader。主要是想代码更加规范化。eslint是语法检查工具,但限制太过于严格,大部分开发人员无法适应,所以产生这个需求。解决办法:找到buil...

vue 使用eventbus 报错:Cannot read property ‘apply‘ of undefined

vue 使用eventbus 报错:Cannot read property 'apply' of undefined什么是apply引用官方的解释和js apply通过apply()方法,您能够编写用于不同对象的方法。var person = {fullName: function() {return this.firstName + " " + this.lastName;}}var pers

到底了