Commit 47ddee3e by CaIon

fix: 修复是否自动禁用选项不生效

parent 20d07d3f
......@@ -213,6 +213,7 @@ const EditChannel = (props) => {
handleCancel();
return;
}
localInputs.auto_ban = autoBan ? 1 : 0;
localInputs.models = localInputs.models.join(',');
localInputs.group = localInputs.groups.join(',');
if (isEdit) {
......@@ -528,7 +529,6 @@ const EditChannel = (props) => {
onChange={
() => {
setAutoBan(!autoBan);
}
}
// onChange={handleInputChange}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment