首次提交
This commit is contained in:
33
store/modules/temp.js
Normal file
33
store/modules/temp.js
Normal file
@@ -0,0 +1,33 @@
|
||||
// 全部订单各列表
|
||||
const temp = {
|
||||
state: {
|
||||
tempNo: {},
|
||||
powerful: false,
|
||||
locationStr: '0,0',
|
||||
locationCenter: [11, 3],
|
||||
order: {},
|
||||
condition: {}
|
||||
},
|
||||
mutations: {
|
||||
SET_TEMPNO: (state, tempNo) => {
|
||||
state.tempNo = tempNo
|
||||
},
|
||||
SET_POWER: (state, powerful) => {
|
||||
state.powerful = powerful
|
||||
},
|
||||
SET_LOCATION: (state, locationStr) => {
|
||||
state.locationStr = locationStr
|
||||
},
|
||||
SET_ORDERDE: (state, order) => {
|
||||
state.order = order
|
||||
},
|
||||
SET_CONDT: (state, condition) => {
|
||||
state.condition = condition
|
||||
},
|
||||
SET_CENTER: (state, locationCenter) => {
|
||||
state.locationCenter = locationCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default temp
|
||||
Reference in New Issue
Block a user