Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
dbd1ffff
Commit
dbd1ffff
authored
Oct 24, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改 eslint 校验 &&
parent
5027e0f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
.eslintrc.js
.eslintrc.js
+1
-0
FormRuleSetting.jsx
src/pages/ServiceGoods/components/FormRuleSetting.jsx
+0
-1
No files found.
.eslintrc.js
View file @
dbd1ffff
...
@@ -14,5 +14,6 @@ module.exports = {
...
@@ -14,5 +14,6 @@ module.exports = {
'
@typescript-eslint/no-unused-vars
'
:
[
'
off
'
],
'
@typescript-eslint/no-unused-vars
'
:
[
'
off
'
],
'
import/no-unresolved
'
:
0
,
'
import/no-unresolved
'
:
0
,
'
import/extensions
'
:
0
,
'
import/extensions
'
:
0
,
'
no-unused-expressions
'
:
[
'
error
'
,
{
allowShortCircuit
:
true
}],
},
},
};
};
src/pages/ServiceGoods/components/FormRuleSetting.jsx
View file @
dbd1ffff
...
@@ -28,7 +28,6 @@ const FormRuleSetting = forwardRef((props, ref) => {
...
@@ -28,7 +28,6 @@ const FormRuleSetting = forwardRef((props, ref) => {
const
getIsInShops
=
arr
=>
{
const
getIsInShops
=
arr
=>
{
const
list
=
[];
const
list
=
[];
arr
.
forEach
(
item
=>
{
arr
.
forEach
(
item
=>
{
// eslint-disable-next-line no-unused-expressions
supplierIdList
.
some
(
s
=>
+
s
.
id
===
+
item
)
&&
list
.
push
(
item
);
supplierIdList
.
some
(
s
=>
+
s
.
id
===
+
item
)
&&
list
.
push
(
item
);
});
});
return
list
;
return
list
;
...
...
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