2025年12月25日

toRaw markRaw 转换区别

摘要: toRaw:作用:将一个由reactive生成的响应式对象转为普通对象。 使用场景:用于读取响应式对象对应的普通对象,对这个普通对象的所有操作,不会引起页面更新。 markRaw:作用:标记一个对象,使其永远不会再成为响应式对象。 应用场景: 有些值不应被设置为响应式的,例如复杂的第三方类库等。 当 阅读全文

posted @ 2025-12-25 11:51 龍瀧尨呀 阅读(5) 评论(0) 推荐(0)

2025年12月24日

vscode图形化 git rebase -i

摘要: 设置默认Git编辑器 core.editor( commit message 编辑时) 和 序列编辑器 sequence.editor(比如 rebase 时) vscode: git config --global core.editor "code --wait" git config --gl 阅读全文

posted @ 2025-12-24 18:54 龍瀧尨呀 阅读(2) 评论(0) 推荐(0)

2025年8月27日

python uv 基础使用

摘要: 安装命令 powershell powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" uv python list 展示版本 uv python install 安装最新版本 uv pyt 阅读全文

posted @ 2025-08-27 19:41 龍瀧尨呀 阅读(130) 评论(0) 推荐(0)

2025年6月15日

git分支

摘要: 1. 2-3人开发 直接dev开发 或者从dev拉出个人分支2.多团队开发 多项目单仓库 dev->uat->prod dev拉出迭代分支 个人从迭代分支拉取3. dev 拉出个人分支 dev->release-> prod 有release3.33等迭代分支 开发完合并到dev直接发布测试 然后个 阅读全文

posted @ 2025-06-15 21:44 龍瀧尨呀 阅读(7) 评论(0) 推荐(0)

2025年3月10日

webpack打包优化

摘要: 首先需要 监控 打包体积和 打包时间 webpack-bundle-analyzer 可以看到打包体积 const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin // new Bundle 阅读全文

posted @ 2025-03-10 10:09 龍瀧尨呀 阅读(42) 评论(0) 推荐(0)

2024年11月30日

仿csgo抽奖 横向抽奖 竖向抽奖 多排抽奖 随机落点

摘要: 先看效果: gitee仓库地址:https://gitee.com/Leewangon/choujiang 阅读全文

posted @ 2024-11-30 13:49 龍瀧尨呀 阅读(39) 评论(0) 推荐(0)

2024年11月13日

二次封装elementUI el-table

摘要: 思考需求 1.需要遍历列数组 并且v-bind 不要手动绑定字段 2.操作列需要单独拎出来 预定义增删改查等常用按钮字段 需要快速绑定 并抛出对应事件 3.操作列上需要加入权限认证 4.分页字段需要存在组件内部管理 外部传入查询条件就行 调用接口的时候 把分页字段加上 5.需要判断传入的数据类型是否 阅读全文

posted @ 2024-11-13 23:52 龍瀧尨呀 阅读(157) 评论(0) 推荐(0)

2024年7月22日

docker私有化

摘要: https://blog.csdn.net/changyinling520/article/details/139104322 阅读全文

posted @ 2024-07-22 15:16 龍瀧尨呀 阅读(10) 评论(0) 推荐(0)

2024年6月3日

vue3全局状态和 define

摘要: vuex global 全局响应式ref provider inject 注入 defineEmit 定义事件 defineProps 定义属性 defineExpose 定义组件暴露的的东西 defineSlots 阅读全文

posted @ 2024-06-03 18:42 龍瀧尨呀 阅读(24) 评论(0) 推荐(0)

vue3异步组件

摘要: vue2 // 定义一个异步组件 const AsyncComponent = () => ({ // 需要加载的组件 (应该是一个 Promise) component: import('./MyComponent.vue'), // 加载中应当渲染的组件 loading: LoadingComp 阅读全文

posted @ 2024-06-03 11:26 龍瀧尨呀 阅读(42) 评论(0) 推荐(0)

导航