浏览代码

Merge branch 'master' of http://47.112.200.206:3000/aijia/kmt

# Conflicts:
#	src/components/MenuComponent.vue
name 6 年之前
父节点
当前提交
c329cf3fea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/store/modules/user.js

+ 1 - 1
src/store/modules/user.js

@@ -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)