fix: agentBox protocol 统一参数
This commit is contained in:
@@ -107,11 +107,11 @@ export const agent2 = {
|
|||||||
protocol: [
|
protocol: [
|
||||||
{
|
{
|
||||||
label: 'http',
|
label: 'http',
|
||||||
value: 1
|
value: 'http'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'https',
|
label: 'https',
|
||||||
value: 2
|
value: 'https'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -47,10 +47,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="item.prop === 'protocol'">
|
|
||||||
<span v-if="scope.row[item.prop] === 1">http</span>
|
|
||||||
<span v-if="scope.row[item.prop] === 2">https</span>
|
|
||||||
</span>
|
|
||||||
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
|
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
|
||||||
<template v-else>-</template>
|
<template v-else>-</template>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user