Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 769453ca
authored
Jan 04, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
5ae8b504
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
linkwe-ui/src/components/Upload.vue
linkwe-ui/src/components/Upload.vue
View file @
769453c
...
@@ -103,9 +103,13 @@ export default {
...
@@ -103,9 +103,13 @@ export default {
this
.
$message
.
error
(
'图片“高”度超限,请重新选择'
)
this
.
$message
.
error
(
'图片“高”度超限,请重新选择'
)
isSize
=
false
isSize
=
false
}
}
window
.
URL
&&
window
.
URL
.
revokeObjectURL
(
image
.
src
)
resolve
()
resolve
()
}
}
if
(
window
.
FileReader
)
{
if
(
window
.
URL
)
{
url
=
window
.
URL
.
createObjectURL
(
file
)
image
.
src
=
url
}
else
if
(
window
.
FileReader
)
{
let
reader
=
new
FileReader
()
let
reader
=
new
FileReader
()
reader
.
onload
=
function
(
e
)
{
reader
.
onload
=
function
(
e
)
{
let
data
=
e
.
target
.
result
let
data
=
e
.
target
.
result
...
...
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