浏览代码

题卡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;