摘要: 大文件上传 思路:前端获取 file 文件对象使用 slice 方法截取切片,然后异步上传切片,再合并 技术栈 TypeScript Vue3 Element-plus Nodejs 客户端实现 创建ui界面 服务端实现 稍后补充 源代码 https://gitee.com/zhudachangs/ 阅读全文
posted @ 2022-01-28 10:14 半截肥皂 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: Vue3使用ts遇到的问题记录 阅读全文
posted @ 2022-01-26 10:42 半截肥皂 阅读(135) 评论(0) 推荐(0) 编辑
摘要: mac 使用vsCode 创建c/c++ 工程项目 并配置断点调试 使用vscode 创建c/c++工程项目 准备工作 使用 vscode 下载插件 C/C++ Project Generator 开始 一、使用快捷键 shift + command + p (mac) ctrl + shift + 阅读全文
posted @ 2021-12-10 14:55 半截肥皂 阅读(2419) 评论(0) 推荐(1) 编辑
摘要: vue2.x 使用 socket 数据交互 简单封装 socket //生成唯一标识符 function getUuid { let s = []; let hexDigits = "0123456789abcdef"; for (let i = 0; i < 36; i++) { s[i] = h 阅读全文
posted @ 2021-02-24 17:34 半截肥皂 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Vue3-js 学习笔记 目录 reactive 数据绑定 事件绑定 生命函数周期 计算属性-computed props emit-自定义事件 ref-获取元素及子组件 watch vue3-组件通信 reactive-ref-区别 前言 优秀的教程 vue3 官网 reactive 数据绑定 < 阅读全文
posted @ 2020-12-02 18:56 半截肥皂 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: Vue 生命周期 beforeCreate (组件实例刚被创建,组件属性计算之前,如 data 属性等) created (组件实例创建完成, 属性已绑定,但 DOM 还未生成, $el 属性不存在) beforeMount-比佛毛特儿 (模版编译/挂载之前) mounted-某儿得 (模版编译/挂 阅读全文
posted @ 2020-11-20 14:25 半截肥皂 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof 备注: 元素隐式地具有“ any”类型,因为类型“ string”的表达式不能用于索引类 阅读全文
posted @ 2020-07-02 15:37 半截肥皂 阅读(13670) 评论(0) 推荐(0) 编辑
摘要: TypeScript 学习笔记 目录 参考详细文档 变量 Function 函数 Interface 接口 Class 类 DOM 操作 TypeScript 实际使用中的注意事项及问题 参考-TypeScript-详细文档 点击我跳转 TypeScript 详细文档页面 变量 let age: n 阅读全文
posted @ 2020-06-29 09:38 半截肥皂 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 报错内容 1592979788: Error: Unable to open log file /Users/bigbird/mqttconfig/mosquitto/log/mosquitto.log for writing. 解决方法 1.查看你的 mosquitto.conf 文件,路径是否正 阅读全文
posted @ 2020-06-24 18:43 半截肥皂 阅读(3980) 评论(0) 推荐(0) 编辑
摘要: Docker 学习笔记 目录 参考文档 环境安装 Docker 基础命令 Docker 安装及部署 Mysql Docker 安装及部署 MQTT Docker 搭建 WebServer Docker 搭建 APIserver Docker 实际使用中的注意事项及问题 参考文档 点击我跳转到 Doc 阅读全文
posted @ 2020-06-24 18:13 半截肥皂 阅读(310) 评论(0) 推荐(0) 编辑