From b3b91e5e040bb0d4353c46fb5eb965957dfa2fcd Mon Sep 17 00:00:00 2001 From: wuyong Date: Thu, 11 Aug 2022 15:54:49 +0800 Subject: [PATCH] update --- .env.development | 5 ++++- .env.production | 5 +++++ yarn.lock | 19 ++++++++++++++++--- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index d7894be..ef80e6e 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,8 @@ VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http VITE_DROP_CONSOLE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=/jeecgboot +VITE_GLOB_API_URL=http://localhost:8080/jeecg-boot + #后台接口全路径地址(必填) VITE_GLOB_DOMAIN_URL=http://localhost:8080/jeecg-boot @@ -21,3 +22,5 @@ VITE_GLOB_API_URL_PREFIX= #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径 VITE_APP_SUB_jeecg-app-1 = '//localhost:8092' + + diff --git a/.env.production b/.env.production index de33204..7e4bb62 100644 --- a/.env.production +++ b/.env.production @@ -32,3 +32,8 @@ VITE_USE_PWA = false # 是否兼容旧浏览器 VITE_LEGACY = false + +NODE_ENV=production +VUE_APP_API_BASE_URL=http://localhost:8080/jeecg-boot +VUE_APP_CAS_BASE_URL=http://localhost:8888/cas +VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview diff --git a/yarn.lock b/yarn.lock index cc89eb5..32fb83a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3487,7 +3487,7 @@ commander@*, commander@^8.2.0: resolved "https://registry.npmmirror.com/commander/download/commander-8.3.0.tgz?cache=0&sync_timestamp=1634886357672&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcommander%2Fdownload%2Fcommander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha1-SDfqGy2me5xhamevuw+v7lZ7ymY= -commander@^2.20.0, commander@^2.8.1: +commander@^2.20.0, commander@^2.20.3, commander@^2.8.1: version "2.20.3" resolved "https://registry.npmmirror.com/commander/download/commander-2.20.3.tgz?cache=0&sync_timestamp=1634886357672&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcommander%2Fdownload%2Fcommander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha1-/UhehMA+tIgcIHIrpIA16FMa6zM= @@ -3928,6 +3928,11 @@ cssesc@^3.0.0: resolved "https://registry.npm.taobao.org/cssesc/download/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" integrity sha1-N3QZGZA7hoVl4cCep0dEXNGJg+4= +cssfilter@0.0.10: + version "0.0.10" + resolved "https://registry.npmmirror.com/cssfilter/-/cssfilter-0.0.10.tgz#c6d2672632a2e5c83e013e6864a42ce8defd20ae" + integrity sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw== + csso@^4.2.0: version "4.2.0" resolved "https://registry.nlark.com/csso/download/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" @@ -11494,9 +11499,9 @@ vue-json-pretty@^2.0.4: resolved "https://registry.nlark.com/vue-json-pretty/download/vue-json-pretty-2.0.4.tgz#2f6e7f59a84e0e1ef41dd33663c3e1d1a9734a29" integrity sha1-L25/WahODh70HdM2Y8Ph0alzSik= -vue-print-nb-jeecg@^1.0.10: +vue-print-nb-jeecg@^1.0.11: version "1.0.11" - resolved "https://registry.npmjs.org/vue-print-nb-jeecg/-/vue-print-nb-jeecg-1.0.11.tgz#9e925732cbf4b43220bd039bb75cb342719c46b6" + resolved "https://registry.npmmirror.com/vue-print-nb-jeecg/-/vue-print-nb-jeecg-1.0.11.tgz#9e925732cbf4b43220bd039bb75cb342719c46b6" integrity sha512-oKmXayXokyvm75p5RM+hJes/6NXsBJyeIx9sFjSKgnRxfyscFraFfAj9byb/sy4/P4Pn9FtawqWc5rkgiKHWVw== dependencies: babel-plugin-transform-runtime "^6.23.0" @@ -11921,6 +11926,14 @@ xmlchars@^2.2.0: resolved "https://registry.nlark.com/xmlchars/download/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha1-Bg/hvLf5x2/ioX24apvDq4lCEMs= +xss@^1.0.13: + version "1.0.13" + resolved "https://registry.npmmirror.com/xss/-/xss-1.0.13.tgz#6e48f616128b39f366dfadc57411e1eb5b341c6c" + integrity sha512-clu7dxTm1e8Mo5fz3n/oW3UCXBfV89xZ72jM8yzo1vR/pIS0w3sgB3XV2H8Vm6zfGnHL0FzvLJPJEBhd86/z4Q== + dependencies: + commander "^2.20.3" + cssfilter "0.0.10" + xtend@^4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.nlark.com/xtend/download/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"