下载油管视频
1 | # 直接下载 |
下载油管视频
1 | # 直接下载 |
自己的网站总是被谷歌提示要翻译,猜到要设置语言
1 | <!-- 中文 --><html lang="zh-Hans"> |
具体参详知乎文章:
1 | mv * ../ |
查看浏览器信息
1 | navigator.userAgent |
一键配置,方便
https://github.com/MvsCode/frps-onekey
看文档配置即可
https://gofrp.org/docs/examples/vhost-http/
1 | [common] |
nginx 配置
1 | server { |
时间:2021年11月22日
页面:http://xxx.xxx.xx/tools/xxxxx
接口:http://10.1.xxx.xxx:8080/api/xxxx
浏览器:Chrome 92+
错误截图:
项目里的 UIA库引用了另外一个UI库B的样式,这个UI库B样式有问题,需要替换。
在 package.json
里这么写即可
1 | { |
或者 yarn 安装的时候写好路径
1 | yarn add file:./../your-project |
Element-UI 抽屉组件 Drawer 有个 BUG
就是在抽屉内容区选中文字,然后不松手,然后移动鼠标到弹窗外,却触发了隐藏逻辑。
正确的交互应该是:选中文字不松手,鼠标移动到弹窗外不触发隐藏逻辑,平时点击弹窗外可以触发隐藏逻辑。
设置一下 :wrapper-closable="false"
1 | <el-drawer |
重点是鼠标按下 @mousedown.native="handleWrapperMousedown"
鼠标弹起 @mouseup.native="handleWrapperMouseup"
这两个逻辑
1 | handleWrapperMousedown (e) { |
父组件
1 | <text-document v-bind:title.sync="title"></text-document> |
子组件可以用这个修改 title
1 | this.$emit('update:title', newTitle) |