代码拉取完成,页面将自动刷新
// app.js
App({
onLaunch() {
// 展示本地存储能力
const logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
// 登录
wx.login({
success: res => {
// 发送 res.code 到后台换取 openId, sessionKey, unionId
}
})
},
globalData: {
userInfo: null,
kslx_id:0,
user:{},
bkjb:{
'1':'高级工',
'2':'中级工',
'3':'初级工'
},
bklx:{
'10':'高炉炼铁工',
'20':'金属热处理工',
'30':'金属轧制工',
'40':'炼钢工',
'50':'设备点检员',
'51':'仪器仪表点检员',
'52':'电气设备点检员',
'53':'机械设备点检员'
},
kslx:{
'1':'理论题库',
'2':'技能题库'
},
kstx:{
'1':'单选题',
'2':'多选题',
'3':'判断题',
'4':'简答计算题'
}
}
})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。