Przeglądaj źródła

题卡bug修改

zhangjie 3 lat temu
rodzic
commit
1fe80b1b15
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      card/store/card.js

+ 1 - 1
card/store/card.js

@@ -38,7 +38,7 @@ const mutations = {
   setCurPage(state, curPageNo) {
     const pageNo = state.pages[curPageNo] ? curPageNo : 0;
     state.curPage = state.pages[pageNo];
-    state.pageNo = pageNo;
+    state.curPageNo = pageNo;
   },
   setCurPageNo(state, curPageNo) {
     state.curPageNo = curPageNo;