今天为我的demo添加了两个小功能都需要判断对象是否为空
首页加载时为为填入信息则跳转页面
代码:
onLoad:function(){
//获取内存信息
var userInformation = wx.getStorageSync('userInformation')
//测试未填入时信息的类型
console.log("userInformation.exerciseAbil 上一篇:济南小程序开发价格
下一篇:如何制作调查问卷小程序的方法
今天为我的demo添加了两个小功能都需要判断对象是否为空
onLoad:function(){
//获取内存信息
var userInformation = wx.getStorageSync('userInformation')
//测试未填入时信息的类型
console.log("userInformation.exerciseAbil 上一篇:济南小程序开发价格
下一篇:如何制作调查问卷小程序的方法