- 博客(6)
- 资源 (1)
- 问答 (10)
- 收藏
- 关注
转载 css给dom插入/追加文字/内容
A.使用选择器来插入内容h2:before{content:"前缀";}h2:after{content:"后缀";}B.指定个别的元素不进行插入h2.sample:before{content:none;}2. 插入图像A.在标题前插入图像文件h2:before{content:url(anwy.jpg);}B.将alt属性的值作为图像的标题来显示(用不了)img:after{content:attr(alt);display:.
2021-04-27 11:16:06 1690
原创 symfony4.4加密密码时报错Libsodium is not available. You should either install the sodium extension, upgrade
报错:"Libsodium is not available. You should either install the sodium extension, upgrade to PHP 7.2+ or use a different encoder."解决:algorithm:sodium 改为 algorithm:sha256 或者其他原因:推测为sodium加密库未的bug...
2021-04-22 17:04:27 220
原创 js获取本地图片文件的原始宽高尺寸
<!-- 关键api:URL.createObjectURL(object) object:File 对象或 Blob 对象 参考:https://developer.mozilla.org/zh-CN/docs/Web/API/URL/createObjectURL --><!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <.
2021-04-16 17:09:23 1948 2
转载 eslint 禁用命令
eslint 禁用命令 1 2 3 4 5 6 /* eslint-disable */ ESLint 在校验的时候就会跳过后面的代码 还可以在注释后加入详细规则,这样就能避开指定的校验规则了 /* eslint-disable no-new */ 常用:'rules': {"comma-dangle": ["error","never"],//是否允...
2021-04-09 14:12:26 605 1
原创 git提示fatal: Authentication failed for但是不进入重新登录的流程,也死活不弹窗的解决办法,不用找证书删
git提交代码输错了密码 fatal: Authentication failed for 提示了这个死活也不提示重新登录,感觉git的这个设计真的很沙雕。网上说删证书,好不容易找到win10的证书管理器,一堆啊,删了好几个都不起作用,索性全删,还是不起作用,fk。。。这时看到某乎的这个办法,当真管用还好用。解决:git config --system --unset credential.helper 使用上面的命令,会提示权限不足,别慌下一步 资源管理器打开,把上面提示没有权限的路径下的
2021-04-05 18:08:59 1008 5
原创 symfony Fatal error: Declaration of App\DataFixtures\AppFixtures::load(Doctrine\Common\Persistence
问题背景:composer update 后解决:删除\src\DataFixtures目录 bin/console cache:clear use Doctrine\Common\Persistence\ManagerRegistry;改为:use Doctrine\Persistence\ManagerRegistry;// 参考:https://stackoverflow.com/questions/63688919/error-argument-1-passed-...
2021-04-02 17:00:47 372
空空如也
有懂cesiumjs的吗,这两个裁切面为什么不能同时存在?法线是相反的
2024-05-23
python项目stable-diffusion这个报错怎么解决呢?
2023-04-30
vue路由代理 怎么配置只代理某post路由?
2021-04-07
vuex为什么报这个错?我根文档写的一莫一样啊
2021-01-26
有熟悉mp3音频解码的大神吗,请教个问题
2020-02-18
这块的取引用和取值有什么区别呢?
2020-01-16
echarts.js怎么设置时间的显示格式?
2019-12-22
日韩文字的标点符号(比如逗号 句号这些)的unicode编码和中文会是一样的吗?
2019-12-11
命令和api是有明确的对应关系还是说文档是命令就只能用命令调?
2019-11-11
centos7能ping通外网,但是工具连不上(如下图),是怎么回事?
2019-09-05
symfony框架怎么做权限管理?自己做琢磨了个路子,有点野,大家看看
2019-08-19
TA创建的收藏夹 TA关注的收藏夹
TA关注的人