From cf37e9a40e759d373217f72b959cedc4592c939d Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 3 Nov 2017 20:23:38 +0800 Subject: [PATCH] remove unused code --- src/models/list.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/models/list.js b/src/models/list.js index 85bc6c97..965c6f6d 100644 --- a/src/models/list.js +++ b/src/models/list.js @@ -6,7 +6,6 @@ export default { state: { list: [], loading: false, - cursor: 0, }, effects: { @@ -40,11 +39,5 @@ export default { loading: action.payload, }; }, - updateCursor(state, action) { - return { - ...state, - loading: action.payload, - }; - }, }, }; -- GitLab