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