fix: 支持kvdb依赖包安装,db_ip默认0.0.0.0

This commit is contained in:
TsMask
2024-07-09 16:11:58 +08:00
parent f0561242ca
commit a7de701d4d
7 changed files with 15 additions and 15 deletions

View File

@@ -91,6 +91,9 @@ async function fnModalOk() {
if (expandFile['ADB']) {
pkgArr.push(expandFile['ADB']);
}
if (expandFile['KVDB']) {
pkgArr.push(expandFile['KVDB']);
}
if (expandFile['RTPROXY']) {
pkgArr.push(expandFile['RTPROXY']);
}
@@ -104,6 +107,8 @@ async function fnModalOk() {
const udm = from.find(s => s.neType === 'UDM');
if (udm && expandFile['ADB']) {
udm.path = [expandFile['ADB'], udm.path].join(',');
} else if (udm && expandFile['KVDB']) {
udm.path = [expandFile['KVDB'], udm.path].join(',');
}
// 安装带依赖包-指定网元时