Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
Overview
Overview
Details
Activity
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
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
qlintonger xeno
standalone-anyremote
Commits
8689f1b0
Commit
8689f1b0
authored
May 08, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化
parent
218865ba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/views/remote/contacts/contactsInfo.vue
+1
-1
src/views/remote/contacts/eventList.vue
+4
-2
No files found.
src/views/remote/contacts/contactsInfo.vue
View file @
8689f1b0
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</a-collapse>
</a-collapse>
</a-tab-pane>
</a-tab-pane>
<a-tab-pane
title=
"群组列表"
v-if=
"showGroup"
>
<a-tab-pane
title=
"群组列表"
v-if=
"showGroup"
>
<div
class=
"px-4"
>
我是群组列表
</div>
<div
class=
"px-4"
></div>
</a-tab-pane>
</a-tab-pane>
</a-tabs>
</a-tabs>
</a-spin>
</a-spin>
...
...
src/views/remote/contacts/eventList.vue
View file @
8689f1b0
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
<
template
#
initiator=
"{ record }"
>
<
template
#
initiator=
"{ record }"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<global-avatar
:size=
"32"
:icon-size=
"12"
></global-avatar>
<global-avatar
:size=
"32"
:icon-size=
"12"
></global-avatar>
<span
class=
"ml-2"
>
{{
getInitiatorName
(
record
)
}}
</span>
<a-tooltip
:content=
"getParticipantsName(record.userList)"
>
<span
class=
"ml-2 truncate max-w-20"
>
{{
getInitiatorName
(
record
)
}}
</span>
</a-tooltip>
</div>
</div>
</
template
>
</
template
>
<
template
#
participants=
"{ record }"
>
<
template
#
participants=
"{ record }"
>
...
@@ -124,7 +126,7 @@ const {
...
@@ -124,7 +126,7 @@ const {
},
},
initialPage
:
1
,
// 初始页码,默认为1
initialPage
:
1
,
// 初始页码,默认为1
initialPageSize
:
10
,
// 初始每页数据条数,默认为10
initialPageSize
:
10
,
// 初始每页数据条数,默认为10
debounce
:
[
800
]
,
debounce
:
500
,
abortLast
:
true
,
abortLast
:
true
,
total
:
(
res
)
=>
parseInt
(
res
.
data
.
total
),
total
:
(
res
)
=>
parseInt
(
res
.
data
.
total
),
data
:
(
res
)
=>
{
data
:
(
res
)
=>
{
...
...
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