Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
高东东-金蝶建发
/
jf-yzj-supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a852a90c
authored
Aug 19, 2025
by
钟乾明
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u: 新网关接口
parent
f36749cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
build/webpack.prov.conf.js
src/plugins/mas.js
build/webpack.prov.conf.js
View file @
a852a90c
...
...
@@ -29,7 +29,8 @@ var webpackConfig = merge(baseWebpackConfig, {
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new
webpack
.
DefinePlugin
({
'process.env'
:
env
,
'process.env.PACK_ENV'
:
JSON
.
stringify
(
process
.
env
.
PACK_ENV
)
'process.env.PACK_ENV'
:
JSON
.
stringify
(
process
.
env
.
PACK_ENV
),
'process.env.PACK_PLATFORM'
:
JSON
.
stringify
(
process
.
env
.
PACK_PLATFORM
),
}),
new
webpack
.
optimize
.
UglifyJsPlugin
({
compress
:
{
...
...
src/plugins/mas.js
View file @
a852a90c
...
...
@@ -31,8 +31,8 @@ export class MAS {
*/
static
get
TYPE
()
{
return
{
PROXY
:
process
.
env
.
PLATFORM
===
'qing'
?
'mas/proxy?alias='
:
'mas-api/proxy?alias='
,
RESTFUL
:
process
.
env
.
PLATFORM
===
'qing'
?
'mas/restful/'
:
'mas-api/restful/'
PROXY
:
process
.
env
.
P
ACK_P
LATFORM
===
'qing'
?
'mas/proxy?alias='
:
'mas-api/proxy?alias='
,
RESTFUL
:
process
.
env
.
P
ACK_P
LATFORM
===
'qing'
?
'mas/restful/'
:
'mas-api/restful/'
}
}
...
...
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