spring
4 天以前 f26f29d84e0a68831a6af14dab3eec5500496d2e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
let sysinfo = uni.getSystemInfoSync();
const Bluetooth = {
    state: {
        //蓝牙信息
        BLEInformation: {
            platform: sysinfo.platform || "",
            deviceId: "",
            writeCharaterId: "",
            writeServiceId: "",
            notifyCharaterId: "",
            notifyServiceId: "",
            readCharaterId: "",
            readServiceId: "",
        }
    },
    mutations:{
        BLEInformationSet(state, info){
            state.BLEInformation = info;
        }
    }
}
 
export default Bluetooth;