fix: bug#10538

This commit is contained in:
JiangQiming 2023-03-17 15:01:16 +08:00
parent a553cdd191
commit 2050990998
2 changed files with 6 additions and 3 deletions

View File

@ -51,7 +51,7 @@
<h3 class="card-item-content-title">
{{ slotProps.name }}
</h3>
<p>通道数量{{ slotProps.count }}</p>
<p>通道数量{{ slotProps.count || 0 }}</p>
<Ellipsis>
<j-badge
:text="`sip:${slotProps.sipConfigs[0]?.sipId}@${slotProps.sipConfigs[0]?.hostAndPort}`"
@ -91,6 +91,9 @@
<template #publicHost="slotProps">
{{ slotProps.sipConfigs[0]?.publicHost }}
</template>
<template #count="slotProps">
{{ slotProps.count || 0 }}
</template>
<template #status="slotProps">
<j-badge
:text="slotProps.status?.text"
@ -180,6 +183,7 @@ const columns = [
title: '通道数量',
dataIndex: 'count',
key: 'count',
scopedSlots: true,
width: 100,
},
{

View File

@ -24,9 +24,8 @@
</j-form-item>
<j-row :gutter="24">
<j-col :span="8">
<JUpload
<JProUpload
v-model:modelValue="formData.photoUrl"
:bgImage="formData.photoUrl"
/>
</j-col>
<j-col :span="16">