Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c401b28c
authored
Aug 21, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复编辑回显问题
1 parent
0dc1cab8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/customer/account/add/index.vue
src/views/customer/account/add/index.vue
View file @
c401b28
...
@@ -416,8 +416,9 @@ export default {
...
@@ -416,8 +416,9 @@ export default {
this
.
treeData
=
_
.
cloneDeep
(
res
.
data
)
this
.
treeData
=
_
.
cloneDeep
(
res
.
data
)
this
.
treeData
.
forEach
((
i
,
idx
)
=>
{
this
.
treeData
.
forEach
((
i
,
idx
)
=>
{
const
arr
=
data
.
responseList
[
idx
]
const
arr
=
data
.
responseList
[
idx
]
const
idList
=
arr
.
menuIdList
.
concat
(
arr
.
functionIdList
)
// setCheckedKeys全选的接口,
// setCheckedKeys全选的接口,
this
.
$refs
[
`tree
${
idx
}
`
][
0
].
setCheckedKeys
(
arr
.
menuI
dList
)
this
.
$refs
[
`tree
${
idx
}
`
][
0
].
setCheckedKeys
(
i
dList
)
})
})
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
addStyle
()
this
.
addStyle
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment