会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
随笔记
博客园
首页
新随笔
联系
订阅
管理
2023年10月10日
uniapp小程序实现直播组件live-player全屏问题
摘要: <template> <view class="player-content"> <!-- #ifdef APP-PLUS --> <video id="myVideo" :src="srcLink" autoplay controls> <!-- 打开全屏 --> <image class="im
阅读全文
posted @ 2023-10-10 14:26 tianxinya
阅读(625)
评论(0)
推荐(0)
2023年6月7日
linux ping网络不可达
摘要: 一、先使用 ifconfig 命令查看虚拟机是否能上网 对应显示如下,代表可以上网 二、查看虚拟机设置,网络适配器配置NAT和桥接模式两种 三、再次ping,显示成功
阅读全文
posted @ 2023-06-07 09:54 tianxinya
阅读(1049)
评论(0)
推荐(0)
2023年6月6日
vue 中判断向上滚动还是向下滚动
摘要: 转载于 https://www.cnblogs.com/xianxiaoan/p/11073079.html <script> export default { data(){ return{ i = 0 } }, mounted () { window.addEventListener('scro
阅读全文
posted @ 2023-06-06 12:01 tianxinya
阅读(162)
评论(0)
推荐(0)
2023年6月5日
git add 时报错 warning: in the working copy of 'package-lock.json', LF will...
摘要: 来源:https://blog.csdn.net/qq_43842093/article/details/128471953 问题: 执行 git add . 时报错: 原因: 换行符的问题, Windows下换行符和Unix下的换行符不一样,git会自动转换。 解决办法: 执行如下命令: git
阅读全文
posted @ 2023-06-05 12:06 tianxinya
阅读(643)
评论(1)
推荐(0)
git clone 报错 fatal: unable to access ‘仓库地址’: Could not resolve host: xxx
摘要: 来源:https://blog.csdn.net/liuxinxaut/article/details/121276620 解决方法: 执行以下命令: git config --global http.proxy git config --global --unset http.proxy
阅读全文
posted @ 2023-06-05 11:59 tianxinya
阅读(387)
评论(0)
推荐(0)
2023年6月1日
vue解决密码input框内回显浏览器之前保存的账号密码
摘要: 问题: 浏览器保存登录的账号密码之后,在界面修改会自动回显到input框内,影响观感使用。 解决办法: 给input加上属性 autocomplete="new-password" readonly onfocus="this.removeAttribute('readonly'); this.ty
阅读全文
posted @ 2023-06-01 17:03 tianxinya
阅读(891)
评论(0)
推荐(0)
解决fatal: unable to access ‘https://github.com……‘: Failed to connect to
摘要: 问题: git clone时会报如下错误 解决办法: 1. 在cmd下执行 ipconfig/flushdns,清理DNS缓存 2. 重新执行 git clone https://github.com/.../.git 即可成功
阅读全文
posted @ 2023-06-01 09:16 tianxinya
阅读(13006)
评论(0)
推荐(0)
2023年5月15日
关于uniapp条件编译ifdef, ifndef, endif
摘要: 条件编译 标识含义 示例 参照网址: https://uniapp.dcloud.net.cn/tutorial/platform.html
阅读全文
posted @ 2023-05-15 11:38 tianxinya
阅读(242)
评论(0)
推荐(0)
2023年5月9日
HBuilderX启动微信开发者工具报错[error] Error: Fail to open IDE
摘要: 报错提示如下: 解决方法: 1. 使用自己的账号登录。 2. 在微信开发者平台上申请appid并更改项目中的appid。 3. 删除项目中微信小程序的appid,这样就能在HBuilderX中启动游客身份的微信开发者工具。 检查其他步骤是否正确: 1. 打开微信开发者工具,在安全选项里开启服务端口
阅读全文
posted @ 2023-05-09 10:15 tianxinya
阅读(5488)
评论(0)
推荐(0)
2023年5月5日
Vue2中 ?. 可选链式调用操作符
摘要: 可选链运算符(?.)允许读取位于连接对象链深处的属性的值,而不必明确验证链中的每个引用是否有效。?. 运算符的功能类似于 . 链式运算符,不同之处在于,在引用为空 (nullish ) (null 或者 undefined) 的情况下不会引起错误,该表达式短路返回值是 undefined。与函数调用
阅读全文
posted @ 2023-05-05 17:50 tianxinya
阅读(224)
评论(0)
推荐(0)
下一页
公告