Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
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
project
jinfa-admin
Commits
c449f5f3
Commit
c449f5f3
authored
Sep 29, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [14839]
parent
ecf18d45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CustomInputSearch.tsx
src/components/NiceForm/components/CustomInputSearch.tsx
+1
-1
effect.ts
...geCustomized/components/drawers/commodityDrawer/effect.ts
+1
-1
No files found.
src/components/NiceForm/components/CustomInputSearch.tsx
View file @
c449f5f3
...
...
@@ -38,7 +38,7 @@ const CustomInputSearch = props => {
value=
{
props
.
value
}
{
...
props
.
props
['
x
-
component
-
props
']}
>
{
dataOption
.
map
(
d
=>
<
Option
value=
{
d
.
id
}
key=
{
d
.
id
}
>
{
d
.
name
}
</
Option
>)
}
{
dataOption
?
.
map
(
d
=>
<
Option
value=
{
d
.
id
}
key=
{
d
.
id
}
>
{
d
.
name
}
</
Option
>)
}
</
Select
>
</
Space
>
);
...
...
src/pages/pageCustomized/components/drawers/commodityDrawer/effect.ts
View file @
c449f5f3
...
...
@@ -16,7 +16,7 @@ export const searchBrandOptionEffect = (
}).
then
(
res
=>
{
context
.
setFieldState
(
fieldName
,
state
=>
{
state
.
props
[
'x-component-props'
].
dataoption
=
res
.
data
?.
data
?.
map
(
item
=>
{
return
{
label
:
item
.
name
,
value
:
item
.
id
};
return
{
name
:
item
.
name
,
id
:
item
.
id
};
});
});
});
...
...
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