lrf402788946 4 سال پیش
والد
کامیت
3cddab5c38
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/store/refute.js

+ 1 - 1
src/store/refute.js

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