准备上传

This commit is contained in:
2025-10-08 19:15:20 +08:00
parent 0aa7d55a23
commit 0e14a5fa1c
193 changed files with 14697 additions and 2461 deletions

View File

@@ -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') || ''