Skip to content

Commit 7c5a52f

Browse files
committed
fix(cli): add, scroll param
1 parent 5d11760 commit 7c5a52f

File tree

1 file changed

+1
-1
lines changed
  • packages/cli/src/add/templates/scroll

1 file changed

+1
-1
lines changed

packages/cli/src/add/templates/scroll/module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ exports.module = (content, opts = {}) => {
5959
}
6060
contents += ` };\n`;
6161
contents += ` },\n`;
62-
contents += ` ${pagingType}_GET_REFRESH(state, { type, page }) {\n`;
62+
contents += ` ${pagingType}_GET_REFRESH(state, { data, param: { type, page } }) {\n`;
6363
contents += ` state.listInfo = {\n`;
6464
contents += ` ...initialState.listInfo,\n`;
6565
switch (type) {

0 commit comments

Comments
 (0)