MCPcopy Create free account
hub / github.com/CoderOpen/waimai / setConfig

Method setConfig

front/utils/luch-request/core/Request.js:90–92  ·  view source on GitHub ↗

* @Function * @param {Request~setConfigCallback} f - 设置全局默认配置

(f)

Source from the content-addressed store, hash-verified

88 * @param {Request~setConfigCallback} f - 设置全局默认配置
89 */
90 setConfig(f) {
91 this.config = f(this.config)
92 }
93
94 /**
95 * @Function

Callers 1

service.jsFile · 0.80

Calls 1

fFunction · 0.50

Tested by

no test coverage detected