Ver Fonte

题卡bug修改

zhangjie há 3 anos atrás
pai
commit
1fe80b1b15
1 ficheiros alterados com 1 adições e 1 exclusões
  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;