Skip to content

Commit cd25c46

Browse files
cjdxhjjsorrycc
authored andcommitted
fix: es5 compatible with warnAboutDeprecatedCJSRequire.js (#2142)
修正ie下语法问题
1 parent 89e338e commit cd25c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dva/warnAboutDeprecatedCJSRequire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ module.exports = function(member) {
2828
printWarning(
2929
'Please use `require("dva").%s` instead of `require("dva/%s")`. ' +
3030
'Support for the latter will be removed in the next major release.',
31-
[member, member],
31+
[member, member]
3232
);
3333
};

0 commit comments

Comments
 (0)