Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 7ee80b94
authored
Nov 15, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复
1 parent
5c157359
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
src/views/questionnaire/components/StepTwo/index.vue
src/views/redEnvelope/components/common/fun.js
src/views/questionnaire/components/StepTwo/index.vue
View file @
7ee80b9
...
@@ -446,6 +446,7 @@ export default {
...
@@ -446,6 +446,7 @@ export default {
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
24px
;
line-height
:
24px
;
gap
:
10px
0
;
}
}
}
}
.del
{
.del
{
...
...
src/views/redEnvelope/components/common/fun.js
View file @
7ee80b9
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
export
default
{
export
default
{
uploadFile
(
e
,
_this
,
maxSize
)
{
uploadFile
(
e
,
_this
,
maxSize
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
file
=
e
.
srcElement
.
files
[
0
]
const
[
file
]
=
e
.
srcElement
.
files
if
(
!
file
)
return
reject
()
let
AllImgExt
=
'.xls|.xlsx'
let
AllImgExt
=
'.xls|.xlsx'
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
if
(
AllImgExt
.
indexOf
(
extName
)
===
-
1
)
{
if
(
AllImgExt
.
indexOf
(
extName
)
===
-
1
)
{
...
...
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