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