2
schangxiang@126.com
2024-12-09 33c75f1b7dbc5ed934a91bea8eacd83dbb94b9a6
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;
        }
    }
}