改回之前的接口
This commit is contained in:
parent
b8fd50394c
commit
a9febca5e5
@ -470,7 +470,7 @@ const { t } = useI18n()
|
|||||||
|
|
||||||
const {
|
const {
|
||||||
groupActiveIndex,
|
groupActiveIndex,
|
||||||
getDepsTreeMy2,
|
getDepsTreeMy,
|
||||||
depTreeMyList,
|
depTreeMyList,
|
||||||
crumbs,
|
crumbs,
|
||||||
crumbsIndex,
|
crumbsIndex,
|
||||||
@ -917,7 +917,7 @@ const init = async () => {
|
|||||||
depTreeMyList.value = []
|
depTreeMyList.value = []
|
||||||
crumbs.value = []
|
crumbs.value = []
|
||||||
|
|
||||||
await getDepsTreeMy2()
|
await getDepsTreeMy()
|
||||||
if (depTreeMyList.value.length) {
|
if (depTreeMyList.value.length) {
|
||||||
if (state.chooseMode === 1) {
|
if (state.chooseMode === 1) {
|
||||||
// 部门选择模式才创建 all 节点
|
// 部门选择模式才创建 all 节点
|
||||||
|
Loading…
Reference in New Issue
Block a user