...
|
...
|
@@ -72,7 +72,7 @@ const minPathToFullParam = (path) => { |
|
|
let fullKey = minToFullMap[minKey];
|
|
|
|
|
|
if (fullKey) {
|
|
|
obj[fullKey] = _.replace(_.replace(splitValue, minKey, ''), '__', '-');
|
|
|
obj[fullKey] = _.replace(_.replace(splitValue, minKey, ''), '__', '-'); // 替换value中__
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -97,7 +97,7 @@ const fullParamToMinPath = (uri, params, newObj, delObj = {}) => { |
|
|
|
|
|
_.forEach(transformKey(obj, true), (value, key) => {
|
|
|
if (value) {
|
|
|
pathArr.push(`${key}${ _.replace(value, '-', '__')}`);
|
|
|
pathArr.push(`${key}${_.replace(value, '-', '__')}`); // 替换value中-
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
|