소스 검색

题卡bug修改

zhangjie 3 년 전
부모
커밋
1fe80b1b15
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;