网络打印机新增声音开关

This commit is contained in:
gyq
2026-03-31 13:48:59 +08:00
parent be12089ffe
commit b9308c1f21

View File

@@ -163,7 +163,6 @@ const modalConfig: IModalConfig<editRequest> = {
options: options.printType, options: options.printType,
initialValue: options.printType.map(v => v.value) initialValue: options.printType.map(v => v.value)
}, },
{ {
label: "打印机状态", label: "打印机状态",
prop: "status", prop: "status",
@@ -174,6 +173,16 @@ const modalConfig: IModalConfig<editRequest> = {
inactiveValue: 0, inactiveValue: 0,
} }
}, },
{
label: "媒体音开关",
prop: "volumeSwitch",
type: "switch",
initialValue: 1,
attrs: {
activeValue: 1,
inactiveValue: 0,
}
},
], ],
}; };