const isUserId = function() { var userId=uni.getStorageSync("logodata").uid; //console.log("userId---"+userId) if(!userId){ uni.navigateTo({ url:'../login/login' }) } } /* const uid =function() { var userId=uni.getStorageSync("logodata").uid; return } */ export default { commonData:{ companyType:1, }, isUserId, }