Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
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 bdd3a116
authored
Dec 05, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
2a0ef73d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
src/utils/index.js
src/views/withdraw/index.vue
src/utils/index.js
View file @
bdd3a11
...
@@ -95,8 +95,8 @@ function aToExport(url) {
...
@@ -95,8 +95,8 @@ function aToExport(url) {
a
.
click
()
a
.
click
()
}
}
function
getArrayIsSubset
(
arr2
,
arr1
)
{
function
getArrayIsSubset
(
arr2
,
arr1
)
{
if
(
arr2
.
length
==
0
)
return
false
return
arr2
.
every
(
item
=>
{
return
arr2
.
every
(
item
=>
{
console
.
log
(
arr1
.
includes
(
item
))
return
arr1
.
includes
(
item
)
return
arr1
.
includes
(
item
)
})
})
}
}
...
...
src/views/withdraw/index.vue
View file @
bdd3a11
...
@@ -598,7 +598,6 @@ export default {
...
@@ -598,7 +598,6 @@ export default {
}
}
const
header
=
await
this
.
compareHeader
(
file
)
const
header
=
await
this
.
compareHeader
(
file
)
if
(
!
util
.
getArrayIsSubset
(
header
,
tabelHeaderModel
))
{
if
(
!
util
.
getArrayIsSubset
(
header
,
tabelHeaderModel
))
{
this
.
$refs
.
file
.
value
=
''
this
.
$message
.
error
(
'模版错误'
)
this
.
$message
.
error
(
'模版错误'
)
}
else
{
}
else
{
const
reader
=
new
FileReader
()
const
reader
=
new
FileReader
()
...
...
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