Просмотр исходного кода

Merge pull request #2147 from visuddhinanda/agile

tip -> tooltip
visuddhinanda 1 год назад
Родитель
Сommit
dacdc7302e

+ 1 - 1
dashboard/src/components/anthology/AnthologyList.tsx

@@ -150,7 +150,7 @@ const AnthologyListWidget = ({
             }),
             dataIndex: "title",
             key: "title",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             render: (text, row, index, action) => {
               return (

+ 2 - 2
dashboard/src/components/article/ArticleList.tsx

@@ -188,7 +188,7 @@ const ArticleListWidget = ({
             }),
             dataIndex: "title",
             key: "title",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             render: (text, row, index, action) => {
               return (
@@ -243,7 +243,7 @@ const ArticleListWidget = ({
             }),
             dataIndex: "summary",
             key: "summary",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
           },
           {

+ 2 - 2
dashboard/src/components/channel/ChannelTable.tsx

@@ -201,7 +201,7 @@ const ChannelTableWidget = ({
             dataIndex: "title",
             width: 250,
             key: "title",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             render: (text, row, index, action) => {
               return (
@@ -242,7 +242,7 @@ const ChannelTableWidget = ({
             }),
             dataIndex: "summary",
             key: "summary",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
           },
           {

+ 2 - 2
dashboard/src/components/channel/ChapterInChannelList.tsx

@@ -50,7 +50,7 @@ const ChapterInChannelListWidget = ({ channelId, onSelect }: IWidget) => {
           }),
           dataIndex: "title",
           key: "title",
-          tip: "过长会自动收缩",
+          tooltip: "过长会自动收缩",
           ellipsis: true,
           render: (text, row, index, action) => {
             return (
@@ -86,7 +86,7 @@ const ChapterInChannelListWidget = ({ channelId, onSelect }: IWidget) => {
           }),
           dataIndex: "summary",
           key: "summary",
-          tip: "过长会自动收缩",
+          tooltip: "过长会自动收缩",
           ellipsis: true,
         },
         {

+ 1 - 1
dashboard/src/components/recent/RecentList.tsx

@@ -89,7 +89,7 @@ const RecentWidget = ({ onSelect }: IWidget) => {
             }),
             dataIndex: "title",
             key: "title",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             render: (text, row, index, action) => {
               let icon = <></>;

+ 1 - 1
dashboard/src/components/webhook/WebhookList.tsx

@@ -76,7 +76,7 @@ const WebhookListWidget = ({ channelId, studioName }: IWidget) => {
             }),
             dataIndex: "url",
             key: "url",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             render: (text, row, index, action) => {
               const url = row.url.split("?")[0];

+ 1 - 1
dashboard/src/pages/studio/course/list.tsx

@@ -166,7 +166,7 @@ const Widget = () => {
             }),
             dataIndex: "title",
             key: "title",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             width: 300,
             render: (text, row, index, action) => {

+ 2 - 2
dashboard/src/pages/studio/group/list.tsx

@@ -119,7 +119,7 @@ const Widget = () => {
             }),
             dataIndex: "name",
             key: "name",
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
             render: (text, row, index, action) => {
               return (
@@ -151,7 +151,7 @@ const Widget = () => {
             dataIndex: "description",
             key: "description",
             search: false,
-            tip: "过长会自动收缩",
+            tooltip: "过长会自动收缩",
             ellipsis: true,
           },
           {