MCPcopy Create free account
hub / github.com/UncAnnyZ/MiniProgram-HotUpdate / onLoad

Function onLoad

pages/logs/logs.js:8–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 logs: []
7 },
8 onLoad() {
9 this.setData({
10 logs: (wx.getStorageSync('logs') || []).map(log => {
11 return {
12 date: util.formatTime(new Date(log)),
13 timeStamp: log
14 }
15 })
16 })
17 }
18})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected