|
@@ -222,7 +222,7 @@ const user = {
|
|
|
GetTeacherSalaryList({ commit, state }, data) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
axios.post(GetTeacherSalaryList, data).then(response => {
|
|
|
- const data = response.data
|
|
|
+ const data = response.data || { }
|
|
|
commit('SET_TEACHER_SALARY_LIST', data);
|
|
|
// debugger
|
|
|
resolve(response)
|