2021年11月29日

在 Vue 项目中使用 MQTT

摘要: Vue 是一款由尤雨溪及其团队开发的渐进式 Javascript 前端框架。该框架具备数据双向绑定、组件化、响应式和轻量等特点,搭配其脚手架 Vue CLI 使得开发者更加容易上手,大大减少了学习成本。同时其配备一个专用的状态管理模式 Vuex ,在这里可以集中管理所有组件的状态。 MQTT 是一种 阅读全文

posted @ 2021-11-29 10:33 奔驰的码儿 阅读(1966) 评论(0) 推荐(0)

文件流上传和回显图片

摘要: 接收文件流回显图片 1 img = 'data:image/jpeg;base64,' + Img 上传文件流图片 1 <el-upload class="avatar-uploader" :action="ApiUrl + 'api/GaugeType/UploadImage'" 2 :show- 阅读全文

posted @ 2021-11-29 10:05 奔驰的码儿 阅读(354) 评论(0) 推荐(0)

文件流下载

摘要: 1 <!-- 下载 --> 2 <el-tooltip :content="$t('SystemSetting.ReportTemplate.Btn.Export')" placement="top"> 3 <el-button size="small" circle type="primary" 阅读全文

posted @ 2021-11-29 09:47 奔驰的码儿 阅读(35) 评论(0) 推荐(0)

导航