mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
Merge pull request #943 from dataease/pr@dev@feat_panel-hyperlinks
refactor:文本超链接hover增加提示
This commit is contained in:
commit
7eb9849092
@ -58,7 +58,7 @@ export default {
|
||||
computed: {
|
||||
textInfo() {
|
||||
if (this.element && this.element.hyperlinks && this.element.hyperlinks.enable) {
|
||||
return "<a target='" + this.element.hyperlinks.openMode + "' href='" + this.element.hyperlinks.content + "'>" + this.element.propValue + '</a>'
|
||||
return "<a title='" + this.element.hyperlinks.content + "' target='" + this.element.hyperlinks.openMode + "' href='" + this.element.hyperlinks.content + "'>" + this.element.propValue + '</a>'
|
||||
} else {
|
||||
return this.element.propValue
|
||||
}
|
||||
@ -154,6 +154,7 @@ export default {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
outline: none;
|
||||
|
||||
}
|
||||
|
||||
.canEdit {
|
||||
@ -161,4 +162,9 @@ export default {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
::v-deep a:hover {
|
||||
text-decoration: underline!important;
|
||||
color: blue!important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user