Skip to content

Commit

Permalink
opt:enablePreloadFramework 默认值同步原生SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSwim404 committed Jan 23, 2024
1 parent e471dd5 commit 84b3fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mop.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ class FinStoreConfig {
* @param {string} options.cryptType - 网络接口加密类型,默认为MD5 国密SM
* @param {string} options.fingerprint - SDK指纹 证联环境(https://open.fdep.cn/) 时必填,其他环境的不用填
* @param {boolean} options.encryptServerData - 是否需要接口加密验证(初始化多服务器时使用)默认为不开启,当设置为true时开启,接口返回加密数据并处理
* @param {boolean} options.enablePreloadFramework - 是否开启预加载基础库
* @param {boolean} options.enablePreloadFramework - 是否开启预加载基础库,默认开启
*/
constructor(sdkKey, sdkSecret, apiServer, {
apmServer = null,
cryptType = "MD5",
fingerprint = null,
encryptServerData = false,
enablePreloadFramework = false
enablePreloadFramework = true
} = {}) {
this.sdkKey = sdkKey;
this.sdkSecret = sdkSecret;
Expand Down

0 comments on commit 84b3fac

Please sign in to comment.