Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
group-buy-ui
Commits
044330be
Commit
044330be
authored
Oct 11, 2021
by
徐光星
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/group-buy' into 'master'
fix See merge request
!6
parents
bf3f2d86
bf06f283
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
sharePic.vue
src/components/sharePic.vue
+5
-3
No files found.
src/components/sharePic.vue
View file @
044330be
...
...
@@ -147,9 +147,11 @@ export default {
placeholderArr
()
{
const
arr
=
[];
const
num
=
this
.
maxCount
-
this
.
avatorList
.
length
;
if
(
num
>=
0
)
{
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
arr
.
push
({});
}
}
return
arr
;
}
},
...
...
@@ -160,7 +162,7 @@ export default {
let
peoplePhotoList
=
sharePicData
.
peoplePhotoList
||
[];
this
.
maxCount
=
openGroupCnt
>=
6
?
6
:
openGroupCnt
;
this
.
openGroupCnt
=
openGroupCnt
;
this
.
avatorList
=
peoplePhotoList
.
slice
(
0
,
openGroupC
nt
);
this
.
avatorList
=
peoplePhotoList
.
slice
(
0
,
this
.
maxCou
nt
);
this
.
$nextTick
(()
=>
{
if
(
this
.
avatorList
.
length
===
0
)
{
this
.
maxCount
-=
1
;
...
...
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