摘要: 再写登录页面的时候,即使不登录,也能根据连接跳转,为了阻止这个情况,所以使用了拦截器 { path:'/myprofile', name:'myprofile', component:myprofile, //拦截器器 beforeEnter: (to, from, next) = { //如果登录 阅读全文
posted @ 2020-04-30 17:44 Bronya天使 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 准备工作 1.添加水印 2.压缩图片 压缩 import cv2 读图 img = cv2.imread('./dingding.png') 开始压缩 png压缩等级清晰0 9模糊 cv2.imwrite('./dingding1.png',img,[cv2.IMWRITE_PNG_COMPRESS 阅读全文
posted @ 2020-04-30 16:57 Bronya天使 阅读(354) 评论(0) 推荐(0) 编辑