1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| export default {
| namespaced: true,
| state: () => ({
| deviceId:'',
| blueInfo:null
| }),
| mutations: {
| setDeviceId(state,val){
| state.deviceId = val;
| },
| setBlueInfo(state,obj){
| state.blueInfo = obj;
| }
| },
| actions: {
|
| },
| getters: {
| getDeviceId(state){
| return state.deviceId;
| },
| getBlueInfo(state){
| return state.blueInfo;
| }
| }
| }
|
|