1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
122f333c77
commit
386901316d
|
@ -90,13 +90,10 @@ export default {
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.list = this.formatList(res.Result)
|
this.list = this.formatList(res.Result)
|
||||||
let { tree, ids } = this.formatTree(res.Result);
|
let { tree, ids } = this.formatTree(res.Result);
|
||||||
console.log(ids)
|
|
||||||
this.tree = tree
|
this.tree = tree
|
||||||
if (ids.length > 0) {
|
this.$nextTick(() => {
|
||||||
this.$nextTick(() => {
|
this.$refs.tree.setCheckedKeys(ids)
|
||||||
this.$refs.tree.setCheckedKeys(ids)
|
})
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
Loading…
Reference in New Issue