Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 03852c06
authored
Dec 30, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.3.0' of
http://192.168.3.233:8090/saas/scrm-micro-battles
into v3.3.0
2 parents
a508aeeb
64700bc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
src/views/activityRecord/addRecord.vue
src/views/activityRecord/addRecord.vue
View file @
03852c0
...
...
@@ -197,10 +197,6 @@ export default {
},
// 上传视频
handleVideoChange
(
e
)
{
this
.
$notify
({
title
:
'提示'
,
message
:
'视频上传中,请稍后'
})
this
.
loading
=
true
let
file
=
e
.
srcElement
.
files
[
0
]
var
reader
=
new
FileReader
()
...
...
@@ -209,8 +205,13 @@ export default {
const
isLt
=
file
.
size
/
1024
/
1024
<
limitSize
if
(
!
isLt
)
{
this
.
$message
.
error
(
'上传视频大小不能超过'
+
limitSize
+
'MB!'
)
this
.
loading
=
false
return
}
this
.
$notify
({
title
:
'提示'
,
message
:
'视频上传中,请稍后'
})
document
.
querySelector
(
'.upload-video'
).
value
=
''
reader
.
readAsDataURL
(
file
)
reader
.
onload
=
e
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment