06 2022 档案

摘要:// 订阅发布模式 type BusClass = { emit: (name: string) => void; on: (name: string, callback: Function) => void; off: (name: string) => void; once: (name: st 阅读全文
posted @ 2022-06-23 15:49 清风~~徐来 阅读(82) 评论(0) 推荐(0)
摘要:手动搭建webpcak5x +vue3.2.x + element-plus 第一步新建文件夹 test 初始化package.json mkdir test cd test npm init -y 第二步 新建index.html <!DOCTYPE html> <html lang="en"> 阅读全文
posted @ 2022-06-20 17:58 清风~~徐来 阅读(199) 评论(0) 推荐(0)
摘要:当前分支修改提交到其他分支 **//步骤1:在当前的分支上的修改暂存起来(当前分支dev-cwl-pmdt-v2.0) git stash //步骤2:暂存修改后,切换到其他分支(当前分支dev-cwl-pmdt-v2.0) git checkout dev-main-pmdt-v2.0 //步骤3 阅读全文
posted @ 2022-06-20 10:14 清风~~徐来 阅读(2022) 评论(0) 推荐(1)
摘要:toString() // 数字进制转换 console.log((1).toString()) // 1 console.log((10).toString(2)) // 1010 console.log((10).toString(4)) // 22 console.log((10).toStr 阅读全文
posted @ 2022-06-13 14:39 清风~~徐来 阅读(74) 评论(0) 推荐(0)