MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getdata

Method getdata

wxapp/miaoyouHome.js:233–247  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

231 t);
232 }
233 getdata(t) {
234 let s = this.getval(t);
235 if (/^@/.test(t)) {
236 const [, e, i] = /^@(.*?)\.(.*?)$/.exec(t),
237 o = e ? this.getval(e) : "";
238 if (o)
239 try {
240 const t = JSON.parse(o);
241 s = t ? this.lodash_get(t, i, "") : s;
242 } catch (t) {
243 s = "";
244 }
245 }
246 return s;
247 }
248 setdata(t, s) {
249 let e = !1;
250 if (/^@/.test(s)) {

Callers 2

checkEnvFunction · 0.45
runScriptMethod · 0.45

Calls 2

getvalMethod · 0.45
lodash_getMethod · 0.45

Tested by

no test coverage detected