Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
73fde25c
Commit
73fde25c
authored
Feb 01, 2023
by
YIyiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改富文本图片改变大小插件
parent
a12b5efd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
base-manager-ui/admin/.env
base-manager-ui/admin/.env
+2
-1
base-manager-ui/admin/.env.development
base-manager-ui/admin/.env.development
+2
-1
base-manager-ui/admin/vue.config.js
base-manager-ui/admin/vue.config.js
+11
-6
No files found.
base-manager-ui/admin/.env
View file @
73fde25c
...
@@ -9,4 +9,5 @@ VUE_APP_TBAS_KEY=admin.tabs
...
@@ -9,4 +9,5 @@ VUE_APP_TBAS_KEY=admin.tabs
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
#VUE_APP_API_BASE_URL=http://api.iczer.com
#VUE_APP_API_BASE_URL=http://api.iczer.com
#门户
#门户
VUE_APP_API_portal_URL=http://192.168.0.98:11072
#VUE_APP_API_portal_URL=http://192.168.0.98:11072
\ No newline at end of file
VUE_APP_API_portal_URL=http://10.12.185.213:11072
\ No newline at end of file
base-manager-ui/admin/.env.development
View file @
73fde25c
#开发环境
#开发环境
NODE_ENV = "development"
NODE_ENV = "development"
VUE_APP_API_BASE_URL=http://192.168.0.98:11078
#VUE_APP_API_BASE_URL=http://192.168.0.98:11078
\ No newline at end of file
VUE_APP_API_BASE_URL=http://10.12.185.213:11071
\ No newline at end of file
base-manager-ui/admin/vue.config.js
View file @
73fde25c
...
@@ -4,11 +4,9 @@ const ThemeColorReplacer = require("webpack-theme-color-replacer");
...
@@ -4,11 +4,9 @@ const ThemeColorReplacer = require("webpack-theme-color-replacer");
const
{
getThemeColors
,
modifyVars
}
=
require
(
"
./src/utils/themeUtil
"
);
const
{
getThemeColors
,
modifyVars
}
=
require
(
"
./src/utils/themeUtil
"
);
const
{
resolveCss
}
=
require
(
"
./src/utils/theme-color-replacer-extend
"
);
const
{
resolveCss
}
=
require
(
"
./src/utils/theme-color-replacer-extend
"
);
const
CompressionWebpackPlugin
=
require
(
"
compression-webpack-plugin
"
);
const
CompressionWebpackPlugin
=
require
(
"
compression-webpack-plugin
"
);
const
productionGzipExtensions
=
[
"
js
"
,
"
css
"
];
const
productionGzipExtensions
=
[
"
js
"
,
"
css
"
];
const
isProd
=
process
.
env
.
NODE_ENV
===
"
production
"
;
const
isProd
=
process
.
env
.
NODE_ENV
===
"
production
"
;
const
assetsCDN
=
{
const
assetsCDN
=
{
// webpack build externals
// webpack build externals
// externals: {
// externals: {
...
@@ -34,9 +32,8 @@ const assetsCDN = {
...
@@ -34,9 +32,8 @@ const assetsCDN = {
],
],
};
};
const
BundleAnalyzerPlugin
=
require
(
"
webpack-bundle-analyzer
"
)
.
BundleAnalyzerPlugin
;
const
BundleAnalyzerPlugin
=
require
(
'
webpack-bundle-analyzer
'
).
BundleAnalyzerPlugin
module
.
exports
=
{
module
.
exports
=
{
devServer
:
{
devServer
:
{
disableHostCheck
:
true
,
disableHostCheck
:
true
,
...
@@ -59,7 +56,15 @@ module.exports = {
...
@@ -59,7 +56,15 @@ module.exports = {
patterns
:
[
path
.
resolve
(
__dirname
,
"
./src/theme/theme.less
"
)],
patterns
:
[
path
.
resolve
(
__dirname
,
"
./src/theme/theme.less
"
)],
},
},
},
},
//富文本改变图片大小插件
configureWebpack
:
{
plugins
:
[
new
webpack
.
ProvidePlugin
({
"
window.Quill
"
:
"
quill/dist/quill.js
"
,
Quill
:
"
quill/dist/quill.js
"
,
}),
],
},
css
:
{
css
:
{
loaderOptions
:
{
loaderOptions
:
{
less
:
{
less
:
{
...
...
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