Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
junlebao-milk-20240619
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
junlebao-milk-20240619
Commits
0cb03f7b
Commit
0cb03f7b
authored
Jun 27, 2024
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页弹窗进入后只谈一次
parent
6817d30e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.ts
miniprogram/pages/index/index.ts
+4
-4
No files found.
miniprogram/pages/index/index.ts
View file @
0cb03f7b
...
...
@@ -30,8 +30,8 @@ ComponentWithStore({
canIUseNicknameComp
:
wx
.
canIUse
(
'input.type.nickname'
),
},
methods
:
{
onShow
()
{
this
.
updateHomeInfo
();
async
onShow
()
{
await
this
.
updateHomeInfo
();
const
{
channel
,
city
}
=
this
.
options
||
{};
store
.
paramsObj
=
{
channel
,
city
};
},
...
...
@@ -67,8 +67,8 @@ ComponentWithStore({
});
}
else
{
this
.
setData
({
showGetPanel
:
channel
&&
first
,
showAlGetPanel
:
channel
&&
!
first
,
showGetPanel
:
channel
&&
first
&&
!
store
.
paramsObj
.
channel
,
showAlGetPanel
:
channel
&&
!
first
&&
!
store
.
paramsObj
.
channel
,
showPhoneBtn
:
false
,
userInfo
:
{
avatarUrl
:
store
.
homeInfo
.
avatar
||
defaultInfo
.
avatar
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment