Добавил пациента в store
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
import { createStore } from "vuex";
|
||||
|
||||
export default createStore({
|
||||
state: {},
|
||||
mutations: {},
|
||||
state: {
|
||||
currentPatient: {},
|
||||
test: "Привет",
|
||||
},
|
||||
mutations: {
|
||||
setCurrentPatient(state, patient) {
|
||||
state.currentPatient = patient;
|
||||
},
|
||||
},
|
||||
actions: {},
|
||||
modules: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user