Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-psd
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 a01af6b7
authored
Jul 15, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第二轮bug修复
1 parent
6812d96b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/mixins/shareMixin.js
src/mixins/shareMixin.js
View file @
a01af6b
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
arr
.
forEach
(
(
ele
,
id
)
=>
{
arr
.
forEach
(
(
ele
,
id
)
=>
{
let
mediaType
=
5
let
mediaType
=
5
let
myParam
=
{}
let
myParam
=
{}
let
fileReg
=
/https
?
:
\/\/[\s\S]
+
\.
/
let
fileReg
=
/
^
https
?
:
\/\/[\s\S]
+
\.
/
if
(
!
ele
)
return
;
if
(
!
ele
)
return
;
if
(
fileReg
.
test
(
ele
)){
if
(
fileReg
.
test
(
ele
)){
let
imgArr
=
[
'jpg'
,
'jpeg'
,
'png'
,
'gif'
,
'webp'
,
'pjp'
,
'jfif'
,
'pjpeg'
,
'bmp'
,
'dib'
]
let
imgArr
=
[
'jpg'
,
'jpeg'
,
'png'
,
'gif'
,
'webp'
,
'pjp'
,
'jfif'
,
'pjpeg'
,
'bmp'
,
'dib'
]
...
...
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