Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
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
member
member
Commits
0bc49a14
Commit
0bc49a14
authored
Aug 04, 2020
by
Kyle_Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证修改
parent
0cdcc061
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
bulkIntegral.vue
src/components/wechatmembers/bulkIntegral.vue
+3
-4
No files found.
src/components/wechatmembers/bulkIntegral.vue
View file @
0bc49a14
...
...
@@ -345,10 +345,9 @@ export default {
beforeUpload
(
file
)
{
// let _this = this;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
1
;
const
types
=
file
.
name
.
split
(
"."
)[
1
];
const
fileType
=
[
"xlsx"
,
"xlc"
,
"xlm"
,
"xls"
,
"xlt"
,
"xlw"
,
"csv"
].
some
(
item
=>
item
===
types
);
const
types
=
file
.
name
.
split
(
"."
);
const
type
=
types
[
types
.
length
-
1
];
const
fileType
=
[
"xlsx"
,
"xlc"
,
"xlm"
,
"xls"
,
"xlt"
,
"xlw"
,
"csv"
].
some
(
item
=>
item
===
type
);
if
(
!
fileType
)
{
this
.
$message
.
warning
(
"请上传excel表格"
);
return
false
;
...
...
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