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
28d1ce02
Commit
28d1ce02
authored
May 08, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
尝试添加截图标注+6
parent
344f8f2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
src/views/remote/videoCall/videoTools.vue
+15
-2
No files found.
src/views/remote/videoCall/videoTools.vue
View file @
28d1ce02
...
@@ -104,6 +104,7 @@ import { h, onMounted, onUpdated, ref } from 'vue'
...
@@ -104,6 +104,7 @@ import { h, onMounted, onUpdated, ref } from 'vue'
import
{
userStates
}
from
'AnyR/states/wsStates'
import
{
userStates
}
from
'AnyR/states/wsStates'
import
ImageEditor
from
'AnyR/widgets/ImageEditor/imageEditor.vue'
import
ImageEditor
from
'AnyR/widgets/ImageEditor/imageEditor.vue'
import
{
Button
,
Message
,
Modal
}
from
'@arco-design/web-vue'
import
{
Button
,
Message
,
Modal
}
from
'@arco-design/web-vue'
import
{
alova
}
from
'@/api/alova-instance.ts'
const
ps
=
defineProps
<
{
const
ps
=
defineProps
<
{
id
:
any
id
:
any
...
@@ -122,8 +123,20 @@ function reallyEndMarkHandle() {
...
@@ -122,8 +123,20 @@ function reallyEndMarkHandle() {
function
initialPaintDone
(
blob
:
any
)
{
function
initialPaintDone
(
blob
:
any
)
{
if
(
!
chatChannelState
.
value
.
screenshotInitiatorId
&&
chatChannelState
.
value
.
displayImageEditor
)
{
if
(
!
chatChannelState
.
value
.
screenshotInitiatorId
&&
chatChannelState
.
value
.
displayImageEditor
)
{
AnyR
?.
agora
.
startMark
(
blob
,
'temp.png'
)
const
params
=
{
console
.
log
(
'发送画画png完成'
)
apiPwd
:
'Ifar$2_0160_525_Mocp'
,
file
:
blob
,
requestFrom
:
6
,
uid
:
4
}
alova
// @ts-ignore
.
Post
<
any
>
(
'/admin/uploadMuFile'
,
params
,
{
meta
:
{
isUpload
:
true
}
})
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
AnyR
?.
agora
.
startMark
(
res
.
data
.
url
);
}
})
}
}
}
}
...
...
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