Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8a948318
authored
2023-04-04 14:49:10 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:字典
1 parent
a13e8f4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/utils/operation.js
src/views/system/dictionaries/components/editDialog.vue
src/utils/operation.js
View file @
8a94831
import
{
Message
}
from
"element-ui"
;
export
function
removeTreeListItem
(
treeList
,
dictId
,
idName
=
'bsmDict'
)
{
export
function
removeTreeListItem
(
treeList
,
dictId
,
idName
=
'dictid'
)
{
if
(
!
treeList
||
!
treeList
.
length
)
{
return
}
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
8a94831
...
...
@@ -287,6 +287,7 @@
});
},
handleMinus
(
index
,
row
)
{
console
.
log
(
this
.
tableData
,
row
.
dictid
,
'dictid'
);
removeTreeListItem
(
this
.
tableData
,
row
.
dictid
,
'dictid'
);
this
.
tableData
=
judgeSort
(
this
.
tableData
)
this
.
key
++
;
...
...
Please
register
or
sign in
to post a comment