节点:ftp路径显示修改

This commit is contained in:
高云鹏 2024-11-22 11:12:25 +08:00
parent 229db3d28a
commit 9543c85572
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,7 @@
<el-col
v-if="!itemChild.data.showKey || formData[itemChild.data.showKey] === itemChild.data.showValue"
:offset="1"
:span="11"
:span="itemChild.data.singleRow ? 23 : 11"
>
<el-form-item :label="itemChild.data.label" :prop="itemChild.key">
<el-input
@ -98,7 +98,7 @@ const emits = defineEmits(['update:visible', 'submit'])
const formRef = ref<FormInstance>()
const formData = ref<any>({})
// const formData = ref<protocolFormType>({})
// const formData = ref<protocolFormType>({})
// #region
// const cardTitle: ['', ''] = ['', '']
// const netWorkOption = {
@ -959,6 +959,7 @@ const formColumnList: formColumnType[] = [
value: '',
showKey: 'ftpMode',
showValue: '1',
singleRow: true,
},
},
{
@ -1077,6 +1078,7 @@ const formColumnList: formColumnType[] = [
value: '',
showKey: 'ftpMode',
showValue: '1',
singleRow: true,
},
},
{

View File

@ -122,6 +122,7 @@ type paramsType = {
showKey?: string
showValue?: string | number
isSeconds?: boolean
singleRow?: boolean
list?: { label: string; value: string | number }[]
cardTitle?: ['网络设置', '超时设置']
}