![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
no_vy
这个作者很懒,什么都没留下…
展开
-
前端 vue 使用 EMQ
先安装 mqtt 使用npm安装npm i mqtt 页面引用 import mqtt from 'mqtt'options的内容const options = { clean: true, // 保留回话 connectTimeout: 4000, // 超时时间 reconnectPeriod: 4000, // 重连时间间隔 //clientId,这个是EMQ Dashboard的上的cli.原创 2020-12-02 15:55:53 · 959 阅读 · 0 评论 -
自用的vue方法
把空格转换成自己想要的类型arr.replace(/\s+/g,",")原创 2020-12-31 11:31:19 · 119 阅读 · 0 评论