Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
181f62c1
Commit
181f62c1
authored
Nov 01, 2021
by
RuoYi
Browse files
回显数据字典键值修正
parent
3ae5ec92
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/utils/ruoyi.js
View file @
181f62c1
...
...
@@ -85,8 +85,8 @@ export function selectDictLabels(datas, value, separator) {
var
temp
=
value
.
split
(
currentSeparator
);
Object
.
keys
(
value
.
split
(
currentSeparator
)).
some
((
val
)
=>
{
Object
.
keys
(
datas
).
some
((
key
)
=>
{
if
(
datas
[
key
].
dictV
alue
==
(
''
+
temp
[
val
]))
{
actions
.
push
(
datas
[
key
].
dictL
abel
+
currentSeparator
);
if
(
datas
[
key
].
v
alue
==
(
''
+
temp
[
val
]))
{
actions
.
push
(
datas
[
key
].
l
abel
+
currentSeparator
);
}
})
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment