fix: 解决设置默认分组的问题 (#385)

This commit is contained in:
ssongliu
2023-03-23 20:58:33 +08:00
committed by GitHub
parent 01bb6b7c01
commit d70c22dde8
5 changed files with 7 additions and 5 deletions

View File

@@ -124,6 +124,7 @@ const saveGroup = async (formEl: FormInstance, group: Group.GroupInfo) => {
const setDefault = (group: Group.GroupInfo) => {
group.isDefault = true;
group.type = type.value;
UpdateGroup(group).then(() => {
MsgSuccess(i18n.global.t('commons.msg.updateSuccess'));
search();