fix: 网元公共参数初始数据组件回填,adb绑定0.00.0

This commit is contained in:
TsMask
2024-05-30 21:20:10 +08:00
parent 2ee26a6958
commit 22ced8bdb2
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ let state: StateType = reactive({
amf_ip: '172.16.5.120', amf_ip: '172.16.5.120',
ausf_ip: '172.16.5.130', ausf_ip: '172.16.5.130',
udm_ip: '172.16.5.140', udm_ip: '172.16.5.140',
adb_ip: '172.16.5.140', adb_ip: '0.0.0.0',
smf_ip: '172.16.5.150', smf_ip: '172.16.5.150',
pcf_ip: '172.16.5.160', pcf_ip: '172.16.5.160',
nssf_ip: '172.16.5.170', nssf_ip: '172.16.5.170',
@@ -120,7 +120,7 @@ watch(
val => { val => {
if (val) emit('update:data', val); if (val) emit('update:data', val);
}, },
{ deep: true } { deep: true, immediate: true }
); );
onMounted(() => {}); onMounted(() => {});

View File

@@ -136,7 +136,7 @@ function fnGetData() {
break; break;
case 'UDM': case 'UDM':
state.from.sbi.udm_ip = item.ip; state.from.sbi.udm_ip = item.ip;
state.from.sbi.adb_ip = item.ip; state.from.sbi.adb_ip = '0.0.0.0';
break; break;
case 'SMF': case 'SMF':
state.from.sbi.smf_ip = item.ip; state.from.sbi.smf_ip = item.ip;

View File

@@ -113,7 +113,7 @@ function fnGetList() {
break; break;
case 'UDM': case 'UDM':
state.from.sbi.udm_ip = item.ip; state.from.sbi.udm_ip = item.ip;
state.from.sbi.adb_ip = item.ip; state.from.sbi.adb_ip = '0.0.0.0';
break; break;
case 'SMF': case 'SMF':
state.from.sbi.smf_ip = item.ip; state.from.sbi.smf_ip = item.ip;