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;
   },