Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
linweijiong
jinfa-platform
Commits
111dc7e4
Commit
111dc7e4
authored
Oct 22, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
4f3d69aa
41c48478
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
11 deletions
+16
-11
index.tsx
src/pages/editor/components/drawer/mixDrawer/index.tsx
+4
-1
index.tsx
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
+12
-10
No files found.
src/pages/editor/components/drawer/mixDrawer/index.tsx
View file @
111dc7e4
...
...
@@ -129,7 +129,10 @@ const MixDrawer: React.FC<MixDrawerProps> = (props: MixDrawerProps) => {
_params
.
name
=
keyWord
}
_params
.
shopId
=
shopId
_params
.
idNotInList
=
selectId
if
(
selectId
&&
Array
.
isArray
(
selectId
)
&&
selectId
.
length
>
0
)
{
_params
.
idNotInList
=
selectId
.
join
(
','
)
}
_fetch
=
PublicApi
.
getSearchCommodityTemplateGetBrandList
;
break
;
}
...
...
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
View file @
111dc7e4
...
...
@@ -155,16 +155,18 @@ const OwnMallTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
};
const
getBrandList
=
async
(
ids
:
number
[])
=>
{
const
param
:
any
=
{
current
:
1
,
pageSize
:
20
,
shopId
,
idInList
:
ids
};
const
res
=
await
PublicApi
.
getSearchCommodityTemplateGetBrandList
(
param
);
message
.
destroy
()
if
(
res
.
code
===
1000
&&
res
.
data
.
data
)
{
return
res
.
data
.
data
if
(
ids
&&
ids
.
length
>
0
)
{
const
param
:
any
=
{
current
:
1
,
pageSize
:
20
,
shopId
,
idInList
:
ids
.
join
(
','
)
};
const
res
=
await
PublicApi
.
getSearchCommodityTemplateGetBrandList
(
param
);
message
.
destroy
()
if
(
res
.
code
===
1000
&&
res
.
data
.
data
)
{
return
res
.
data
.
data
}
}
return
[];
};
...
...
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