fix:修复 IPAM IP details页面表单验证和国际化

This commit is contained in:
@changcode
2022-03-22 17:43:56 +08:00
parent 305b4fcd0b
commit 4bdee680c6
2 changed files with 7 additions and 16 deletions

View File

@@ -36,7 +36,7 @@
<template slot-scope="scope" :column="item">
<span v-if="item.prop === 'dc'">{{scope.row[item.prop]?scope.row[item.prop].name:'-'}}</span>
<span v-else-if="item.prop === 'CIDR'">
<template>{{ scope.row.addr }} / {{scope.row.mask}}</template>
<template>{{ scope.row.addr }}/{{scope.row.mask}}</template>
</span>
<span v-else-if="item.prop === 'type'">
<template v-if="scope.row.type === 4">IPV4</template>