修复刚新建的分组不能修改的问题

This commit is contained in:
mxd
2021-08-30 21:53:00 +08:00
parent 54c8adea71
commit 401033f74b

View File

@@ -536,6 +536,8 @@ export default {
requestGroup('group/create', this.createGroupObj).success(data => {
this.createGroupObj.id = data
this.createGroupObj.folder = true
this.createGroupObj.paths = []
this.createGroupObj.options = []
bus.$emit('report', 'group_create')
bus.$emit('status', `分组「${this.createGroupObj.name}」创建成功`)
this.deleteOrAddGroupToTree(this.tree, this.createGroupObj)