commit
This commit is contained in:
@@ -123,15 +123,13 @@
|
||||
},
|
||||
methods: {
|
||||
add () {
|
||||
console.log(this.$refs.tree.getCheckedNodes());
|
||||
console.log(this.$refs.tree.getCheckedKeys());
|
||||
console.log(this.$refs.tree.getCheckedKeys().concat(this.$refs.tree.getHalfCheckedKeys()));
|
||||
},
|
||||
handleCheckChange (checkedNodes, checkedKeys) {
|
||||
var list = []
|
||||
for (var a = 0; a < checkedKeys.checkedNodes.length; a++) {
|
||||
list.push(checkedKeys.checkedNodes[a].id)
|
||||
}
|
||||
console.log(list);
|
||||
},
|
||||
getRole () {
|
||||
this.$http.get('sarRole/role', {}, {}, res=> {
|
||||
|
||||
Reference in New Issue
Block a user