wgt-node-utils 1.2.37 → 1.2.38

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgt-node-utils",
3
- "version": "1.2.37",
3
+ "version": "1.2.38",
4
4
  "description": "WGT工具类包",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -736,7 +736,7 @@ class wgtNodeUtils {
736
736
  const data = {
737
737
  contact: contactEmail,
738
738
  title: title ? title : '',
739
- txt: title ? `<h2>${title}</h2>${txt}` : txt,
739
+ txt: txt ? txt : '',
740
740
  };
741
741
 
742
742
  return data;