摘要: 初始化蓝牙模块 openBluetoothAdapter() { wx.openBluetoothAdapter({ success: (res) => { wx.showToast({ title: '初始化成功', }) }, fail: (res) => { wx.showToast({ ti 阅读全文
posted @ 2020-11-12 17:01 孤常一人 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 引入 let Request = require("../"); //导入模块 get/post Request.post('', //调用方法 { }, { 'content-type': 'application/json', // 默认值 }, ).then(res => { //成功回调 } 阅读全文
posted @ 2020-11-12 16:49 孤常一人 阅读(140) 评论(0) 推荐(0) 编辑