准备上传
This commit is contained in:
@@ -155,6 +155,15 @@ export default {
|
||||
this.shopName = storeName
|
||||
const phone = profile?.phone || uni.getStorageSync('USER_MOBILE') || ''
|
||||
this.mobile = phone
|
||||
// 保存邮箱到本地存储
|
||||
const email = profile?.email || ''
|
||||
try {
|
||||
if (email) {
|
||||
uni.setStorageSync('USER_EMAIL', email)
|
||||
} else {
|
||||
uni.removeStorageSync('USER_EMAIL')
|
||||
}
|
||||
} catch(_){}
|
||||
} catch(e) {
|
||||
try {
|
||||
const storeName = uni.getStorageSync('SHOP_NAME') || ''
|
||||
|
||||
Reference in New Issue
Block a user