提交 94209dd3 authored 作者: wangjiahao's avatar wangjiahao

refactor:文本超链接hover增加提示

上级 72b9c620
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
computed: { computed: {
textInfo() { textInfo() {
if (this.element && this.element.hyperlinks && this.element.hyperlinks.enable) { 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 { } else {
return this.element.propValue return this.element.propValue
} }
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
outline: none; outline: none;
} }
.canEdit { .canEdit {
...@@ -161,4 +162,9 @@ export default { ...@@ -161,4 +162,9 @@ export default {
height: 100%; height: 100%;
} }
} }
::v-deep a:hover {
text-decoration: underline!important;
color: blue!important;
}
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论