解决选择订单列表,和订单之间的交互
This commit is contained in:
23
mobile-web/src/store/order.js
Normal file
23
mobile-web/src/store/order.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
// 挂载
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
addressData: {
|
||||
},
|
||||
},
|
||||
mutations: {
|
||||
changeAddressData: function (state, payload) {
|
||||
state.addressData = payload;
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
},
|
||||
getters: {
|
||||
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user