refactor(devices): 移除设备型号和设备昵称的必填校验
移除添加设备SN配置时对设备型号和设备昵称的必填校验规则
This commit is contained in:
@@ -35,7 +35,6 @@ const modalConfig: IModalConfig<DeviceForm> = {
|
||||
{
|
||||
label: "设备型号",
|
||||
prop: "snModel",
|
||||
rules: [{ required: true, message: "设备型号不能为空", trigger: "blur" }],
|
||||
type: "input",
|
||||
attrs: {
|
||||
placeholder: "请输入设备型号",
|
||||
@@ -48,7 +47,6 @@ const modalConfig: IModalConfig<DeviceForm> = {
|
||||
{
|
||||
label: "设备昵称",
|
||||
prop: "snName",
|
||||
rules: [{ required: true, message: "设备昵称不能为空", trigger: "blur" }],
|
||||
type: "input",
|
||||
attrs: {
|
||||
placeholder: "请输入内容",
|
||||
|
||||
Reference in New Issue
Block a user