Skip to content

Commit

Permalink
fix:接入点改造问题修复
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 15656
  • Loading branch information
hyunfa committed Aug 22, 2024
1 parent 089456a commit 8b1fd75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
<td rowspan="2">{{ server.name }}</td>
<td>{{ $t('内网IP') }}</td>
<td class="table-content">
{{ formData[server.id]?.inner_ip_infos.map(item => item.ip).join('; ') || '--' }}
{{ formData[server.id]?.inner_ip_infos?.map(item => item.ip).join('; ') || '--' }}
</td>
</tr>
<tr :key="`${server.id}_outer_ip_infos`">
<td>{{ $t('外网IP') }}</td>
<td class="table-content">
{{ formData[server.id]?.outer_ip_infos.map(item => item.ip).join('; ') || '--' }}
{{ formData[server.id]?.outer_ip_infos?.map(item => item.ip).join('; ') || '--' }}
</td>
</tr>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,12 @@ const checkCommit = () => {
// 跳过检测之前需要校验必填项
const skipCheck = () => {
formDataRef.value?.validate?.().then(() => {
hostState.checkedResult = true;
validate(async () => {
// 跳过检测
hostState.checkedResult = true;
}).catch(() => document.getElementsByClassName('is-error')[0]?.scrollIntoView());
});
}
};
const submitInfo = () => {
ConfigStore.updateDetail(formData.value);
emits('change', true);
Expand Down

0 comments on commit 8b1fd75

Please sign in to comment.