This commit is contained in:
parent
f34f090dc0
commit
2a6e8ade9e
|
@ -62,7 +62,7 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="table-operator">
|
||||
<div class="table-operator" v-if="orgType === 1">
|
||||
<div class="person-type">
|
||||
<a-radio-group v-model="isAdmin" @change="onRadioChange">
|
||||
<a-radio :value="2">学员</a-radio>
|
||||
|
|
|
@ -226,7 +226,7 @@ export default {
|
|||
if (!res.code === 200 || !res.data.length) {
|
||||
return
|
||||
}
|
||||
var rootParentId = res.data[0].pid
|
||||
var rootParentId = 0
|
||||
this.expandedKeys = []
|
||||
this.selectedKeys = []
|
||||
this.orgTree = listToTree(res.data, [], rootParentId)
|
||||
|
|
Loading…
Reference in New Issue