Files
NapCatQQ/.pnpm-store/v3/files/a1/5eefd5a1f3706de98e4580575793963d0a3e7139e9958e3392c84c37aebe8aad579e4babb69c616546eaacad0f32a1fc7bc00202d34d7e010ed1ea4005e87f
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

13 lines
307 B
Plaintext

var parsePath = require('./lib/parse-path')
var setValue = require('./lib/set-value')
function appendField (store, key, value) {
var steps = parsePath(key)
steps.reduce(function (context, step) {
return setValue(context, step, context[step.key], value)
}, store)
}
module.exports = appendField