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
4a6906cb
Commit
4a6906cb
authored
Nov 30, 2021
by
XieZhiXiong
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
8912827e
62166fe8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
config.local.ts
config/config.local.ts
+1
-1
config.prod.ts
config/config.prod.ts
+1
-1
config.ts
config/config.ts
+1
-1
index.tsx
...n/marketingAbility/components/productListLayout/index.tsx
+1
-0
No files found.
config/config.local.ts
View file @
4a6906cb
...
@@ -29,7 +29,7 @@ export default defineConfig({
...
@@ -29,7 +29,7 @@ export default defineConfig({
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/lingxi-design-ui.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/lingxi-design-ui.min.js',
// ],
// ],
chainWebpack
(
config
)
{
chainWebpack
(
config
)
{
config
.
plugin
(
'antd-dayjs-webpack-plugin'
).
use
(
AntdDayjsWebpackPlugin
)
//
config.plugin('antd-dayjs-webpack-plugin').use(AntdDayjsWebpackPlugin)
// config.plugin('lodash-webpack-plugin').use(LodashModuleReplacementPlugin)
// config.plugin('lodash-webpack-plugin').use(LodashModuleReplacementPlugin)
config
.
module
config
.
module
.
rule
(
'svg'
)
.
rule
(
'svg'
)
...
...
config/config.prod.ts
View file @
4a6906cb
...
@@ -28,7 +28,7 @@ export default defineConfig({
...
@@ -28,7 +28,7 @@ export default defineConfig({
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/lingxi-design-ui.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/lingxi-design-ui.min.js',
],
],
chainWebpack
(
config
)
{
chainWebpack
(
config
)
{
config
.
plugin
(
'antd-dayjs-webpack-plugin'
).
use
(
AntdDayjsWebpackPlugin
)
//
config.plugin('antd-dayjs-webpack-plugin').use(AntdDayjsWebpackPlugin)
config
.
plugin
(
'lodash-webpack-plugin'
).
use
(
LodashModuleReplacementPlugin
)
config
.
plugin
(
'lodash-webpack-plugin'
).
use
(
LodashModuleReplacementPlugin
)
// config.merge({
// config.merge({
// optimization: {
// optimization: {
...
...
config/config.ts
View file @
4a6906cb
...
@@ -103,7 +103,7 @@ const config: any = {
...
@@ -103,7 +103,7 @@ const config: any = {
// chunks: isProduction && ['styles', 'vendors', 'umi', 'services'],
// chunks: isProduction && ['styles', 'vendors', 'umi', 'services'],
chainWebpack
:
function
(
config
,
{
webpack
})
{
chainWebpack
:
function
(
config
,
{
webpack
})
{
// config.plugin('case-sensitive-paths-webpack-plugin').use(CaseSensitivePathsWebpackPlugins)
// config.plugin('case-sensitive-paths-webpack-plugin').use(CaseSensitivePathsWebpackPlugins)
config
.
plugin
(
'antd-dayjs-webpack-plugin'
).
use
(
AntdDayjsWebpackPlugin
)
//
config.plugin('antd-dayjs-webpack-plugin').use(AntdDayjsWebpackPlugin)
config
.
plugin
(
'lodash-webpack-plugin'
).
use
(
LodashModuleReplacementPlugin
)
config
.
plugin
(
'lodash-webpack-plugin'
).
use
(
LodashModuleReplacementPlugin
)
config
.
module
config
.
module
.
rule
(
'svg'
)
.
rule
(
'svg'
)
...
...
src/pages/transaction/marketingAbility/components/productListLayout/index.tsx
View file @
4a6906cb
...
@@ -82,6 +82,7 @@ const ProductListLayout: React.FC<ProductListProps> = (props: any) => {
...
@@ -82,6 +82,7 @@ const ProductListLayout: React.FC<ProductListProps> = (props: any) => {
'productList'
:
newData
.
filter
(
item
=>
item
.
skuId
!==
key
)
'productList'
:
newData
.
filter
(
item
=>
item
.
skuId
!==
key
)
})
})
setIdNotInList
(
idNotInList
.
filter
(
item
=>
item
!==
key
));
setIdNotInList
(
idNotInList
.
filter
(
item
=>
item
!==
key
));
setIdNots
(
idNots
.
filter
(
item
=>
item
!==
key
));
setDataSource
(
newData
.
filter
(
item
=>
item
.
skuId
!==
key
))
setDataSource
(
newData
.
filter
(
item
=>
item
.
skuId
!==
key
))
}
}
...
...
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