PPPoE表单添加字段之间关联功能
1、PPPoE表单添加字段之间关联功能 2、服务器管理详情带宽字段修改 3、优化PPPoE表单切换只读时清空数据出现的必填提示
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
:label="option.label"
|
||||
:value="option.value"></el-option>
|
||||
</el-select>
|
||||
<span v-if="!toBoolean(formVal.disabled || formItem.config.readonly)" class="warningCol">{{formVal.warningTitle}}</span>
|
||||
</template>
|
||||
|
||||
<template v-else-if="formVal.type === 'treeSelect'">
|
||||
@@ -393,6 +394,8 @@
|
||||
} else if (item.controls[val] && item.controls[val].required) {
|
||||
let msgType = item.controls[val].type === 'input' ? '请输入' : '请选择';
|
||||
this.rules[val] = [{required: true,message: `${msgType}${item.controls[val].label}`}];
|
||||
} else {
|
||||
delete this.rules[val];
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user