wgt-node-utils 1.2.31 → 1.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgt-node-utils",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "description": "WGT工具类包",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -854,7 +854,7 @@ class wgtNodeUtils {
854
854
  let siteData;
855
855
  if (type === 'content') {
856
856
  siteData = res.data && res.data.data && res.data.data;
857
- } else if (type === 'novle') {
857
+ } else if (type === 'novel') {
858
858
  siteData = res.data && res.data.data && res.data.data.join(',').map(item => item.trim()).filter(item => item !== '');
859
859
  }
860
860
  // 如果未获取到数据,使用en做为默认数据