Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5a21c0e8
authored
Aug 13, 2024
by
preschool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎈
perf:el-tag传入空字符串type导致警告
parent
1a4c7175
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/components/DictTag/src/DictTag.vue
+1
-1
No files found.
src/components/DictTag/src/DictTag.vue
View file @
5a21c0e8
...
...
@@ -72,7 +72,7 @@ export default defineComponent({
// 添加标签的文字颜色为白色,解决自定义背景颜色时标签文字看不清的问题
<
ElTag
style
=
{
dict
?.
cssClass
?
'color: #fff'
:
''
}
type
=
{
dict
?.
colorType
}
type
=
{
dict
?.
colorType
||
null
}
color
=
{
dict
?.
cssClass
&&
isHexColor
(
dict
?.
cssClass
)
?
dict
?.
cssClass
:
''
}
disableTransitions
=
{
true
}
>
...
...
Write
Preview
Markdown
is supported
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