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
fb0250ab
Commit
fb0250ab
authored
May 09, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
尝试添加截图标注+10
parent
6551c8b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
30 deletions
+30
-30
src/views/remote/videoCall/videoTools.vue
+30
-30
No files found.
src/views/remote/videoCall/videoTools.vue
View file @
fb0250ab
...
...
@@ -133,42 +133,42 @@ function initialPaintDone(blob: Blob) {
}
function
paintSaved
(
blob
:
any
)
{
AnyR
?.
agora
.
archiveMark
(
blob
,
'temp.png'
)
const
file
=
new
File
([
blob
],
'temp.png'
)
const
params
=
{
apiPwd
:
'Ifar$2_0160_525_Mocp'
,
file
,
requestFrom
:
6
,
uid
:
4
}
alova
// @ts-ignore
.
Post
<
any
>
(
'/admin/uploadMuFile'
,
params
,
{
meta
:
{
isUpload
:
true
}
})
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
AnyR
?.
agora
.
archiveMark
({
fileUrl
:
res
.
data
.
url
,
fileName
:
res
.
data
.
name
,
fileSize
:
Number
.
parseInt
(
res
.
data
.
size
),
fileType
:
'image'
})
}
})
}
async
function
beforeEndMarkHandle
()
{
if
(
isScreenShotByCurrentUser
.
value
)
{
return
new
Promise
(
function
(
resolve
)
{
Modal
.
warning
({
title
:
'你是截图发起者,退出后将会要求其他用户一同退出,确认?'
,
content
:
()
=>
h
(
'div'
,
{
class
:
'flex w-full items-center justify-center'
},
[
h
(
Button
,
{
size
:
'small'
,
type
:
'primary'
,
status
:
'warning'
,
onClick
:
()
=>
resolve
(
true
)
},
'确定'
),
h
(
Button
,
{
size
:
'small'
,
type
:
'primary'
,
onClick
:
()
=>
resolve
(
false
)
},
'取消'
)
]
)
title
:
'退出确认'
,
content
:
"你是截图发起者,退出后将会要求其他用户一同退出,确认?"
,
okText
:
"确认"
,
cancelText
:
"取消"
,
onOk
()
{
resolve
(
true
)
},
onCancel
()
{
resolve
(
false
)
},
})
})
}
...
...
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