Commit e3c797a5 authored by 王炽's avatar 王炽

666666

parent abc914f7
...@@ -107,6 +107,8 @@ const post = async (url, data, options = {}) => { ...@@ -107,6 +107,8 @@ const post = async (url, data, options = {}) => {
options.data = data; options.data = data;
options.url = url; options.url = url;
console.log('post options1111111:', options);
try { try {
return await request(options); return await request(options);
} catch (error) { } catch (error) {
......
...@@ -227,7 +227,7 @@ const onGetPhoneNumber = async (e) => { ...@@ -227,7 +227,7 @@ const onGetPhoneNumber = async (e) => {
// 重新获取用户信息(登录后)getphonenumber // 重新获取用户信息(登录后)getphonenumber
await Promise.all([ await Promise.all([
userStore.loadUserInfo(), userStore.loadUserInfo(),
userStore.loadMemberInfo(), // userStore.loadMemberInfo(),
]) ])
console.warn('授权后重新获取用户信息') console.warn('授权后重新获取用户信息')
......
...@@ -1918,12 +1918,9 @@ watch( ...@@ -1918,12 +1918,9 @@ watch(
() => globalStore.curTabIndex === 2 && !globalStore.isWxFriendCircle, () => globalStore.curTabIndex === 2 && !globalStore.isWxFriendCircle,
(isVisible) => { (isVisible) => {
if (isVisible) { if (isVisible) {
console.log('积分页面显示 - watch (curTabIndex:', globalStore.curTabIndex, ', isWxFriendCircle:', globalStore.isWxFriendCircle, ')');
// 这里可以添加页面显示时的逻辑
} else {
console.log('积分页面隐藏 - watch (curTabIndex:', globalStore.curTabIndex, ', isWxFriendCircle:', globalStore.isWxFriendCircle, ')');
// 这里可以添加页面隐藏时的逻辑
} }
console.log('isVisible:', isVisible); console.log('isVisible:', isVisible);
}, },
{ immediate: true } { immediate: true }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment