Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
48445591
Commit
48445591
authored
Apr 27, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改打包问题
parent
e411f7fc
Pipeline
#48934
passed with stages
in 17 minutes 24 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
25 deletions
+30
-25
webpack.prod.babel.js
internals/webpack/webpack.prod.babel.js
+24
-24
index.less
...s/bsmanager/base/tablemanager/components/Field/index.less
+1
-1
loadGroupNew.jsx
...nager/base/tablemanager/components/Field/loadGroupNew.jsx
+5
-0
No files found.
internals/webpack/webpack.prod.babel.js
View file @
48445591
...
...
@@ -2,8 +2,8 @@
const
path
=
require
(
'path'
);
const
HtmlWebpackPlugin
=
require
(
'html-webpack-plugin'
);
const
WebpackPwaManifest
=
require
(
'webpack-pwa-manifest'
);
const
OfflinePlugin
=
require
(
'offline-plugin'
);
const
{
HashedModuleIdsPlugin
}
=
require
(
'webpack'
);
//
const OfflinePlugin = require('offline-plugin');
//
const { HashedModuleIdsPlugin } = require('webpack');
const
TerserPlugin
=
require
(
'terser-webpack-plugin'
);
const
CompressionPlugin
=
require
(
'compression-webpack-plugin'
);
...
...
@@ -87,27 +87,27 @@ module.exports = require('./webpack.base.babel')({
// Put it in the end to capture all the HtmlWebpackPlugin's
// assets manipulations and do leak its manipulations to HtmlWebpackPlugin
new
OfflinePlugin
({
relativePaths
:
false
,
publicPath
:
'/'
,
appShell
:
'/'
,
//
new OfflinePlugin({
//
relativePaths: false,
//
publicPath: '/',
//
appShell: '/',
// No need to cache .htaccess. See http://mxs.is/googmp,
// this is applied before any match in `caches` section
excludes
:
[
'.htaccess'
],
//
// No need to cache .htaccess. See http://mxs.is/googmp,
//
// this is applied before any match in `caches` section
//
excludes: ['.htaccess'],
caches
:
{
main
:
[
':rest:'
],
//
caches: {
//
main: [':rest:'],
// All chunks marked as `additional`, loaded after main section
// and do not prevent SW to install. Change to `optional` if
// do not want them to be preloaded at all (cached only when first loaded)
additional
:
[
'*.chunk.js'
],
},
//
// All chunks marked as `additional`, loaded after main section
//
// and do not prevent SW to install. Change to `optional` if
//
// do not want them to be preloaded at all (cached only when first loaded)
//
additional: ['*.chunk.js'],
//
},
// Removes warning for about `additional` section usage
safeToUseOptionalCaches
:
true
,
}),
//
// Removes warning for about `additional` section usage
//
safeToUseOptionalCaches: true,
//
}),
new
CompressionPlugin
({
algorithm
:
'gzip'
,
...
...
@@ -137,11 +137,11 @@ module.exports = require('./webpack.base.babel')({
],
}),
new
HashedModuleIdsPlugin
({
hashFunction
:
'sha256'
,
hashDigest
:
'hex'
,
hashDigestLength
:
20
,
}),
//
new HashedModuleIdsPlugin({
//
hashFunction: 'sha256',
//
hashDigest: 'hex',
//
hashDigestLength: 20,
//
}),
],
performance
:
{
...
...
src/pages/bsmanager/base/tablemanager/components/Field/index.less
View file @
48445591
...
...
@@ -101,7 +101,7 @@ tr.dropOverUpward td {
}
tr.dropOverGroup td {
// border: 1px dashed #1890ff;
background-color:
aqua
;
background-color:
#AED8FA
;
}
.clickRowStyle {
background: #cfe7fd;
...
...
src/pages/bsmanager/base/tablemanager/components/Field/loadGroupNew.jsx
View file @
48445591
...
...
@@ -76,6 +76,11 @@ const LoadGroupNew = props => {
title
:
'组名称'
,
dataIndex
:
'text'
,
key
:
'text'
,
render
:
(
text
,
record
)
=>
(
<
div
>
{
text
}
<
span
>
(
{
record
.
fieldData
.
length
}
)
</
span
>
</
div
>
),
},
];
const
components
=
{
...
...
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