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.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
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 === '
|
|
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做为默认数据
|