This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev-resource-tree
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev-resource-tree by this push:
     new 147b1a1  add tooltips (#2310)
147b1a1 is described below

commit 147b1a1a589088ae37e3122ac99c06833b7a741d
Author: break60 <790061...@qq.com>
AuthorDate: Wed Mar 25 22:25:49 2020 +0800

    add tooltips (#2310)
---
 .../home/pages/resource/pages/udf/pages/function/_source/list.vue    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
 
b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
index ed441ba..d77f557 100644
--- 
a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
+++ 
b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
@@ -43,7 +43,7 @@ v-ps<template>
           <!-- <th scope="col">
             <span>{{$t('Library Name')}}</span>
           </th> -->
-          <th scope="col" width="140">
+          <th scope="col" width="150">
             <span>{{$t('Update Time')}}</span>
           </th>
           <th scope="col" width="80">
@@ -71,7 +71,8 @@ v-ps<template>
             <span v-else>-</span>
           </td>
           <td>
-            <span>{{item.resourceName}}</span>
+            <span v-if="item.resourceName" class="ellipsis" 
v-tooltip.large.top.start.light="{text: item.resourceName, maxWidth: 
'500px'}">{{item.resourceName}}</span>
+            <span v-else>-</span>
           </td>
           <!-- <td>
             <span>{{item.database || '-'}}</span>

Reply via email to