bug修复

This commit is contained in:
2024-06-03 22:59:17 +08:00
parent 4d7f73aedf
commit c56ea0dd73
6 changed files with 39 additions and 19 deletions

View File

@@ -41,7 +41,9 @@ function getCompanyId() {
function setCompanyId(companyId: string) {
uni.setStorageSync(CompanyIdKey, companyId);
getApp().globalData!.companyId = companyId;
if(getApp()?.globalData) {
getApp().globalData!.companyId = companyId;
}
}
function getReferrerUserId() {