Browse Source

Merge branch 'xqc_105' into debug

yujinwen 1 month ago
parent
commit
4768eb6348
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/components/EdbSourceToolTip.vue

+ 10 - 1
src/components/EdbSourceToolTip.vue

@@ -93,11 +93,13 @@ onMounted(() => {
     @mouseout="nodeMouseOut"
   >
     <t-tooltip
-      :content="data.RuleTitle"
       class="container-input"
       ref="antvTooltip"
     >
       <span ref="containerText">{{ data.EdbName }}</span>
+      <template #content>
+        <div class="edb-tooltips-content-box" v-html="data.RuleTitle"></div>
+      </template>
     </t-tooltip>
     <t-icon
       :name="data.fold ? 'add-circle' : 'minus-circle'"
@@ -109,6 +111,13 @@ onMounted(() => {
   </div>
 </template>
 
+<style lang="scss">
+.edb-tooltips-content-box{
+  div{
+    padding-bottom: 5px;
+  }
+}
+</style>
 <style lang="scss" scoped>
 .container {
   display: flex;