lrf402788946 %!s(int64=5) %!d(string=hai) anos
pai
achega
cf362ebab7
Modificáronse 1 ficheiros con 1 adicións e 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;
   },