lrf402788946 hace 5 años
padre
commit
cf362ebab7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      store/setting.js

+ 1 - 1
store/setting.js

@@ -32,7 +32,7 @@ const actions = {
   async update({ commit }, { id, ...data }) {
     const res = await this.$axios.$post(`${api.update(id)}`, data);
     if (res.errcode == '0') {
-      commit('setDefOpt', res.data.data, { root: true });
+      commit('setDefOpt', res.data, { root: true });
     }
     return res;
   },