wgt-node-utils 1.1.1 → 1.1.3

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/README.md CHANGED
@@ -79,12 +79,12 @@
79
79
  await wgtNodeUtils.readF2eFiles(buildName, version, dirname, useReactRouterDom)
80
80
  ```
81
81
  ##### 参数说明:
82
- |参数 | 类型 | 说明 | 是否必传 | 默认值 |
83
- |---------|--------------|-----------------------------------------------------------------------------|------|-----|
82
+ |参数 | 类型 | 说明 | 是否必传 | 默认值 |
83
+ |---------|--------------|-----------------------------------------------------------|------|-----|
84
84
  | buildName | string | 项目打包名称 | 是 | -- |
85
85
  | version | string | 项目版本号 | 是 | -- |
86
86
  | dirname | string | 项目绝对地址 | 是 | -- |
87
- | useReactRouterDom | boolean | 是否需要今天文件ReactRouterDom | 是 | false |
87
+ | useReactRouterDom | boolean | 是否需要今天文件ReactRouterDom | 是 | false |
88
88
 
89
89
 
90
90
  #### getMainDomainByHostname // 获取主域名
@@ -93,9 +93,9 @@
93
93
  wgtNodeUtils.getMainDomainByHostname(hostname)
94
94
  ```
95
95
  ##### 参数说明:
96
- |参数 | 类型 | 说明 | 是否必传 | 默认值 |
97
- |---------|--------------|-----------------------------------------------------------------------------|------|-----|
98
- | hostname | string | 网站地址 | 是 | -- |
96
+ |参数 | 类型 | 说明 | 是否必传 | 默认值 |
97
+ |---------|--------------|-----------------------------------------------|------|-----|
98
+ | hostname | string | 网站地址 | 是 | -- |
99
99
 
100
100
  #### appendLog // node启动时将静态资源读取到内存中
101
101
  #### 使用方法
@@ -109,8 +109,8 @@
109
109
  | err | string || object | 错误类型 | 是 | -- |
110
110
  | ENV | string | 环境变量 | 是 | -- |
111
111
  | components | string | 项目名称 | 是 | -- |
112
- | option | object | 扩展对象 | 否 | false |
113
- | option.usePageUrl | boolean | 是否需要页面url | 否 | -- |
112
+ | option | object | 扩展对象 | 否 | false | --|
113
+ | option.usePageUrl | boolean | 是否需要页面url | 否 | -- |
114
114
  | option.useFeiShuTest | boolean | 是否需要测试环境发送飞书 | 否 | false |
115
115
  | option.req | object | node端页面请求体 | 否 | null |
116
116
  | option.receive_id | string | 发送飞书群ID | 否 | oc_aba13955509035daa7a799f30b1b3341 |