- 博客(282)
- 资源 (4)
- 收藏
- 关注
原创 扫码登录原来就这么简单
首先打开网页的时候,向服务器发送二维码登录的请求,服务器收到后会返回随机生成的uuid,把这uuid的key值存入redis中,一般设置60s作为过期时间。(思路1:是后端可以直接返回二维码图片。)浏览器获得uuid之后,携带uuid向服务端请求是否可以登录。用户打开手机扫码后就得到uuid(必须是在登录状态下)在扫码之后跳转到一个新的页面 点击同意登录后。在浏览器端收到服务端传来的结果(结果里包含token)根据token进行用户登录。扫码登录的功能听起来很牛逼,了解思路做过之后发现其实也很简单。
2023-01-16 17:25:30 540 1
原创 Unknown custom element: <el-row> - did you register the component correctly? For recursive component
解决问题
2022-08-18 11:16:02 2452
原创 解除端口占用
netstat -ano | findstr 端口号 (查询端口号被哪个进程占用)tasklist | findstr 进程PID (根据PID找到进程名称)taskkill -PID 进程PID -F (根据PID杀掉进程)
2022-01-29 19:15:58 1749 1
原创 ffmpeg截图 指定保存路径
ffmpeg -y -i rtsp://admin:a123456789@192.168.1.64:554 -vframes 1 -f image2 -strftime 1 "E:/ParkTest/ElectronServer/MyProject/src/public/car/qjimg/"%%Y-%%m-%%d_%%H-%%M-%%S.png"
2021-12-14 14:52:32 982
原创 TypeError: Cannot read property ‘map‘ of undefined“
这个问题出在map上,那么可以推测是调用map的对象undefined,不是map自己undefined检查是谁调用的map,输出下看里面的值是不是空的。
2021-11-18 18:25:22 533
原创 fatal: unable to access ‘https://github.com/PanJiaChen/vue-element-admin.git
将git clone https://github.com/PanJiaChen/vue-element-admin.git修改为git clone git://github.com/PanJiaChen/vue-element-admin.git
2021-11-12 09:09:31 1219
原创 did you register the component correctly? For recursive components, make sur
检查 是否在components 中 进行注册import 引入后 要在 components中进行注册
2021-09-15 09:30:11 6282
原创 Avoid mutating a prop directly since the value will be overwritten whenever
props 中的age是父组件中进来的值需要在 data里面 先定义一个age1 接收住 父组件传入的值 ,父子组件是 先走子组件在走父组件。
2021-09-13 09:22:25 128
原创 Avoided redundant navigation to current location: “????“.
解决办法:打开你router目录下的index.js文件,复制下面代码,添加到最下方就可以了。const originalPush = Router.prototype.pushRouter.prototype.push = function push(location) {return originalPush.call(this, location).catch(err => err)}...
2021-09-10 09:43:56 110
原创 Could not find artifact org.springframework.boot:spring-boot-starter-parent:
解决方法:修改spring-boot-starter-parent的版本 <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.1.RELEASE</version>这个是版本问题 不兼容...
2021-09-09 08:37:57 3733
原创 ‘telnet‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
1、打开控制面板,然后进入到 “程序” 里面:2、点击 “启用或关闭Windows功能”:3、选中 “Telnet客户端” :4 确定
2021-07-28 16:38:50 127 2
原创 成功解决Address localhost:1099 is already in use
Tomcat端口被占用的:检查你是否运行其他的 Tomcat,把其他的Tomcat关闭 在执行当前的Tomcat
2021-06-25 08:58:11 548 1
原创 vue报错NavigationDuplicated: Avoided redundant navigation to current location: “/“.
在写导航切换时点击会有以下报错这个报错是是路由中点击路径重复,安装vue-router版本的问题解决办法一:如图:在 main.js里添加一段代码。import VueRouter from 'vue-router'const routerPush = VueRouter.prototype.pushVueRouter.prototype.push = function push(location) { return routerPush.call(this, location).catch(
2021-06-23 15:07:44 851 1
DeskTopShare---桌面共享
2020-11-23
Ditto----复制神器
2020-11-23
Vieas----轻量看图神器
2020-11-23
Listary——资源管理器
2020-11-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人