|
@@ -19,7 +19,7 @@ const actions = {
|
|
},
|
|
},
|
|
async fetch({ commit, rootState }, payload) {
|
|
async fetch({ commit, rootState }, payload) {
|
|
const res = await this.$axios.$get(`${api.refute}/${payload}`, {
|
|
const res = await this.$axios.$get(`${api.refute}/${payload}`, {
|
|
- openid: rootState.user.openid,
|
|
|
|
|
|
+ openid: rootState.user.openid || undefined,
|
|
});
|
|
});
|
|
return res;
|
|
return res;
|
|
},
|
|
},
|