wgt-node-utils 0.0.18 → 0.0.19
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/dist/bundle.js +1 -1
- package/package.json +1 -1
- package/src/index.js +3 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -249,7 +249,7 @@ class wgtNodeUtils {
|
|
|
249
249
|
* @dirname 项目的绝对地址
|
|
250
250
|
* @useReactRouterDom 是否需要reactRouterDom
|
|
251
251
|
*/
|
|
252
|
-
readF2eFiles = (buildName, version, dirname, useReactRouterDom) => {
|
|
252
|
+
readF2eFiles = (buildName, version, dirname, useReactRouterDom = false) => {
|
|
253
253
|
console.log('静态资源:开始读取');
|
|
254
254
|
return new Promise((resolve, reject) => {
|
|
255
255
|
try {
|
|
@@ -318,8 +318,9 @@ class wgtNodeUtils {
|
|
|
318
318
|
* @appSecret 打包版本号
|
|
319
319
|
* @message 发送信息值
|
|
320
320
|
* @receive_id client 所使用的receive_id
|
|
321
|
+
* @components 项目名称
|
|
321
322
|
*/
|
|
322
|
-
sendFeiShu = (message, appId, appSecret,
|
|
323
|
+
sendFeiShu = (message, appId, appSecret, components = '') => {
|
|
323
324
|
if (!this.client) {
|
|
324
325
|
if (!appId || !appSecret) {
|
|
325
326
|
console.error('Lark客户端未初始化,且未提供appId和appSecret,无法发送消息');
|