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
e81c4b06
Commit
e81c4b06
authored
May 06, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加内容+9
parent
a9624d26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
src/views/remote/videoCall/videoChat.vue
+6
-10
No files found.
src/views/remote/videoCall/videoChat.vue
View file @
e81c4b06
...
...
@@ -39,21 +39,21 @@
</div>
<div
class=
"px-4 py-2"
>
<a-space
size=
"medium"
>
<a-upload
:show-file-list=
"false"
accept=
"image/*"
:custom-request=
"uploadMuFile"
@
change=
"handleChange"
>
<a-upload
:show-file-list=
"false"
accept=
"image/*"
:custom-request=
"uploadMuFile"
>
<template
#
upload-button
>
<div
class=
"flex-center px-3 py-1 rounded cursor-pointer bg-fill-bg1"
>
<global-icon
icon=
"image"
:size=
"15"
></global-icon>
</div>
</
template
>
</a-upload>
<a-upload
:show-file-list=
"false"
accept=
".pdf"
:custom-request=
"uploadMuFile"
@
change=
"handleChange"
>
<a-upload
:show-file-list=
"false"
accept=
".pdf"
:custom-request=
"uploadMuFile"
>
<
template
#
upload-button
>
<div
class=
"flex-center px-3 py-1 rounded cursor-pointer bg-fill-bg1"
>
<global-icon
icon=
"pdf"
:size=
"15"
></global-icon>
</div>
</
template
>
</a-upload>
<a-upload
:show-file-list=
"false"
accept=
"video/*"
:custom-request=
"uploadMuFile"
@
change=
"handleChange"
>
<a-upload
:show-file-list=
"false"
accept=
"video/*"
:custom-request=
"uploadMuFile"
>
<
template
#
upload-button
>
<div
class=
"flex-center px-3 py-1 rounded cursor-pointer bg-fill-bg1"
>
<global-icon
icon=
"video"
:size=
"15"
></global-icon>
...
...
@@ -76,8 +76,8 @@ import { alova } from '@/api/alova-instance'
import
{
Message
}
from
'@arco-design/web-vue'
const
uploadMuFile
=
(
option
:
any
)
=>
{
const
{
on
Progress
,
onError
,
onSuccess
,
fileItem
,
name
}
=
option
var
params
=
{
const
{
on
Error
,
onSuccess
,
fileItem
}
=
option
const
params
=
{
apiPwd
:
'Ifar$2_0160_525_Mocp'
,
file
:
fileItem
.
file
,
requestFrom
:
6
,
...
...
@@ -97,11 +97,7 @@ const uploadMuFile = (option: any) => {
.
catch
((
error
)
=>
{
onError
(
error
)
})
as
any
}
const
handleChange
=
(
fileList
:
any
,
file
:
any
)
=>
{
console
.
log
(
'FileList:'
,
fileList
)
console
.
log
(
'Current file:'
,
file
)
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.chat-list
{
...
...
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