Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tiktok-upload-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
tiktok-upload-web
Commits
a5fdfa7a
Commit
a5fdfa7a
authored
May 22, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7c091797
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
src/pages/upload/compontent/VideoPlayers/index.tsx
+19
-0
No files found.
src/pages/upload/compontent/VideoPlayers/index.tsx
View file @
a5fdfa7a
...
...
@@ -89,7 +89,23 @@ export default defineComponent({
align
:
'center'
,
className
:
'td-account-name'
,
},
{
title
:
'查看视频'
,
colKey
:
'operation'
,
align
:
'center'
,
className
:
'td-account-name'
,
},
];
// 操作项
const
onOperation
=
({
row
}:
any
)
=>
{
// 获取链接
const
href
=
`https://www.tiktok.com/@
${
row
.
account
.
name
}
/video/
${
row
.
video_id
}
`
;
return
(
<
a
href=
{
href
}
target=
"_blank"
>
链接
</
a
>
);
};
return
()
=>
(
<
div
class=
"custom-video-players-table"
>
<
t
-
table
...
...
@@ -99,6 +115,9 @@ export default defineComponent({
hover
ShowJumper
loading=
{
loading
.
value
}
v
-
slots=
{
{
operation
:
onOperation
,
}
}
></
t
-
table
>
<
div
class=
"custom-pagination-box"
>
<
t
-
pagination
...
...
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