diff --git a/web/src/views/common/GroupTree.vue b/web/src/views/common/GroupTree.vue index 2179a81ed..d22c09a02 100755 --- a/web/src/views/common/GroupTree.vue +++ b/web/src/views/common/GroupTree.vue @@ -339,7 +339,7 @@ export default { for (let i = 0; i < rows.length; i++) { deviceIds.push(rows[i].id) } - this.$store.dispatch('group/add', { + this.$store.dispatch('commonChanel/addDeviceToGroup', { parentId: node.data.deviceId, businessGroup: node.data.businessGroup, deviceIds: deviceIds