上传代码
This commit is contained in:
24
p-BluPrint_1.0.288888/store/index.js
Normal file
24
p-BluPrint_1.0.288888/store/index.js
Normal file
@ -0,0 +1,24 @@
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
|
||||
//蓝牙设置
|
||||
import Bluetooth from '@/store/bluetooth/index.js'
|
||||
|
||||
|
||||
|
||||
const store = new Vuex.Store({
|
||||
modules: {
|
||||
Bluetooth
|
||||
},
|
||||
state: {
|
||||
sysinfo: uni.getSystemInfoSync(),//系统信息
|
||||
},
|
||||
mutations: {
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
export default store
|
Reference in New Issue
Block a user