You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.0 KiB
65 lines
1.0 KiB
//基础配置
|
|
const switchopt = {
|
|
list: [
|
|
{
|
|
type: "switch",
|
|
control:
|
|
{
|
|
modelValue: false
|
|
},
|
|
config:
|
|
{},
|
|
name: "switch1691718873012",
|
|
item:
|
|
{
|
|
label: "开关"
|
|
}
|
|
}],
|
|
form:
|
|
{
|
|
size: "default",
|
|
name: ""
|
|
},
|
|
config:
|
|
{}
|
|
}
|
|
|
|
//满配
|
|
const switchAllopt = {
|
|
list: [
|
|
{
|
|
type: "switch",
|
|
control:
|
|
{
|
|
modelValue: false,
|
|
activeValue: "男",
|
|
inactiveValue: "女",
|
|
disabled: true
|
|
},
|
|
config:
|
|
{
|
|
className: "自定义Class",
|
|
help: "帮助信息",
|
|
span: 12,
|
|
editDisabled: true,
|
|
disabledAdd: true,
|
|
disabledEdit: true,
|
|
disabledDetail: true,
|
|
linkKey: true,
|
|
linkValue: "$.in>1",
|
|
linkResult: "disabled"
|
|
},
|
|
name: "switch1691718873012",
|
|
item:
|
|
{
|
|
label: "开关"
|
|
}
|
|
}],
|
|
form:
|
|
{
|
|
size: "default",
|
|
name: ""
|
|
},
|
|
config:
|
|
{}
|
|
}
|