678PDF
首页
软件
博客
工具箱
注册
登录
b
bg7zag 的博客
cqcqcq,这里是BG7ZAG,会coding的HAM,分享生活趣事、建站技术、前端开发、汽车相关、deepin系统、业余无线电等!73!
bg7zag · 注册于 2026-09-17 · 457 博文 · 0 帖子 · 0 回复
博文 (457)
帖子 (0)
筛选: 分类「程序开发」
✕ 清除
Win、Linux、Mac下配置flutter镜像
首先去flutter中国站获取镜像源:https://flutter.cn/community/china 下面是Flutter 社区的镜像源: ``` export PUB_HOSTED_URL=https://pub.flutter-io.cn export FLU...
2026-09-17
👁 2
💬 0
Flutter
Linux
Mac
win
windows
实现iframe中不添加sandbox=”allow-downloads”情况下下载文件
新版本的chrome会限制iframe下下载文件,除非在iframe中添加 `sandbox="allow-downloads"` 属性,否则都会报下面这个错误 ``` Download is disallowed. The frame initi...
2026-09-17
👁 1
💬 0
allow-downloads
iframe
js下载
sandbox
文件下载
vue的keep-alive坑点
keep-alive的子元素必须是`component`或者`<router-view/>` 否则会不生效,会出现奇奇怪怪的问题,尤其是有echarts的页面 https://blog.bg7zag.com/wp-content/uploads/...
2026-09-17
👁 2
💬 0
echarts
keep-alive
Vue
解决js toFixed 四舍五入遇5不进位问题
https://blog.bg7zag.com/wp-content/uploads/2022/10/1666683067-1165e17b117f40c2204d4fc05b9c564f-1.jpeg ``` const a = 7.55; console.log(a.toFixed(1)) // 7.5 ``...
2026-09-17
👁 2
💬 0
js
round
toFixed
四舍五入
银行家舍入
echarts条形图series的label超出容器范围不完全解决方案
当我们的数据过大,series的label过长时,会超出容器范围。如下所示: https://blog.bg7zag.com/wp-content/uploads/2022/11/1667532050-20221104111958-1.png echarts...
2026-09-17
👁 2
💬 0
echarts
label
条形图
git删除远程仓库已经删除过的分支
删除远程仓库已经删除过的分支命令: ``` git remote prune origin ```
2026-09-17
👁 2
💬 0
git
删除分支
远程分支
解决vitest +Vue Test Utils 组件中包含第三方组件时报 Failed to resolve component
``` [Vue warn]: Failed to resolve component: a-descripttions If this is a native custom element, make sure to exclude it from component resolution via compil...
2026-09-17
👁 2
💬 0
ant-design-vue
component
vitest
Vue
Vue Test Utils
解决iPhone中z-index无效问题
1. 首先在出现层级问题的元素上,z-index的大小通过translateZ来设置层级关系: ``` transform: translateZ(自身z-index的数值px) ``` > 原先的z-index最好继续保留,因...
2026-09-17
👁 2
💬 0
CSS
iPhone
preserve-3d
transform-style
translateZ
Vue3 路由组件警告 component with `markRaw` or using `shallowRef` instead of `ref`.
使用**ant-design-vue**开发时,会报如下**警告** ``` Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhe...
2026-09-17
👁 2
💬 0
ant-design-vue
markRaw
shallowRef
Vue
vue3
Harmony API 9 点击关闭软键盘(ArkTS)
ArkTS,TextInput获取焦点会弹出输入法,失去焦点就会关闭软键盘,使用focusControl控制焦点即可关闭软件盘。 ``` build() { Column() { TextInput() Button('提交') .k...
2026-09-17
👁 1
💬 0
ArkTS
HarmonyOS
软键盘
« 最新
更多 »
分类
全部
程序开发
HAM
电脑&系统
网站建设
包罗万象
汽车相关
标签云
JavaScript
deepin
Vue
H5学习
越野路书
深度操作系统
小程序
jQuery
js
docker
Node.js
萝卜报告
MongoDB
业余无线电
宝塔
CSS
Linux
Ajax
window对象
git
HAM
上传图片
rust
nginx
深度系统
凌派
docker compose
axum
越野路书第九季
nuxt