define([ 'text!./index.html', 'css!./index.css' ], function (template) { return { template, name: "userGroup", props: { uid: { type: [String, Number], default: '' }, groupId: { type: [String, Number], default: '' }, groupList: { type: Array, default: () => { [] } } }, data() { return { activeIds: [], } }, methods: { selectGroup(group) { this.$emit('editUserGroup', group.id) }, } }; });