logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Vue3函数式组件

现在,在Vue3中,所有的函数式组件都是用普通函数创建的。换句话说,不需要定义组件选项。props和context。context参数是一个对象,包含组件的attrs、slots和emitproperty。此外,h现在是全局导入的,而不是在render函数中隐式提供。在3.x中,有状态组件和函数式组件之间的性能差异已经大大减少,并且在大多数用例中是微不足道的。...

文章图片
#vue.js#javascript#前端
SpringBoot连接Redis报错:ERR AUTH <password> called without any password configured for the default user.

一 问题描述Redis默认没有密码,SpringBoot向Redis中保存数据时报错。二 解决方案打开redis.conf配置文件,找到requirepass foobared这一行,并取消注释,密码就是foobared。

#redis#spring boot
到底了