摘要:
abc <span style="color: red">aaa</span> 阅读全文
摘要:
my name is Jun Xie, I'm a font-end web developer, I have over 7 years of working experience, mainly working with javascript, html and css and some nod 阅读全文
摘要:
babel-plugin-import 用于按需加载,在使用antd 的时候引入,可以减少包体积 阅读全文
摘要:
span { animation: roll 0.8s; animation-fill-mode: forwards; // 执行一次, infinity // 执行多次 animation-timing-function: ease; // 动画方式 贝塞尔曲线}@keyframes roll { 阅读全文
摘要:
Tools-> Developer-> New Snippet 打开后保存文件要是以 .sublime-snippet 做结尾 <snippet> <content><![CDATA[console.log(${1}$SELECTION);${2}]]></content> <tabTrigger> 阅读全文
摘要:
创建 ip.sh 文件,文件内容为 ifconfig -a | grep -e "inet[^6]" |\ sed -e "s/.*inet[^6][^0-9]*\([0-9.]*\)[^0-9]*.*/\1/" |\ grep -v "^127\." chmod a+x ip.sh 就可以用了 阅读全文
摘要:
在这里列一下 nunjucks 常用的模板内容 首先需要在plugin.js 当中引入 exports.nunjucks = { enable: true, package: 'egg-view-nunjucks' }; 1、变量传入 {{ title }} 2、for循环 {% for item 阅读全文
摘要:
overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; width: 30px; 阅读全文
摘要:
如果本地代理js发现跨域,需要手动修改自定义规则 1 static function OnBeforeResponse(oSession: Session) { 2 if (m_Hide304s && oSession.responseCode == 304) { 3 oSession["ui-hi 阅读全文
摘要:
https://eggjs.org/zh-cn/core/development.html?spm=ata.13261165.0.0.3c2f2be9w2ozd8#%E4%BD%BF%E7%94%A8-vscode-%E8%BF%9B%E8%A1%8C%E8%B0%83%E8%AF%95 方式2,可 阅读全文