You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
754 B
37 lines
754 B
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)
|
|
},
|
|
}
|
|
};
|
|
|
|
}); |