mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 07:06:06 +08:00
修复环境变量内部空格被替换的问题
This commit is contained in:
parent
ed2007544e
commit
a4c75927a8
|
@ -168,7 +168,7 @@ export default class EnvService {
|
||||||
.filter((x) => x.status !== EnvStatus.disabled)
|
.filter((x) => x.status !== EnvStatus.disabled)
|
||||||
.map('value')
|
.map('value')
|
||||||
.join('&')
|
.join('&')
|
||||||
.replace(/ /g, '');
|
.trim();
|
||||||
if (/"/.test(value)) {
|
if (/"/.test(value)) {
|
||||||
if (/'/.test(value)) {
|
if (/'/.test(value)) {
|
||||||
if (value.indexOf("'") < value.indexOf('"')) {
|
if (value.indexOf("'") < value.indexOf('"')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user