mirror of https://github.com/halo-dev/halo
feat: support click on the tip icon to go to edit page (halo-dev/console#448)
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/3445/head
parent
033e6221f3
commit
50499a8eac
|
@ -185,6 +185,7 @@
|
||||||
theme="twoTone"
|
theme="twoTone"
|
||||||
twoToneColor="#52c41a"
|
twoToneColor="#52c41a"
|
||||||
type="info-circle"
|
type="info-circle"
|
||||||
|
@click="handleEditClick(item)"
|
||||||
/>
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
|
@ -261,6 +262,7 @@
|
||||||
theme="twoTone"
|
theme="twoTone"
|
||||||
twoToneColor="#52c41a"
|
twoToneColor="#52c41a"
|
||||||
type="info-circle"
|
type="info-circle"
|
||||||
|
@click="handleEditClick(record)"
|
||||||
/>
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
|
|
|
@ -78,6 +78,17 @@
|
||||||
<div
|
<div
|
||||||
style="max-width: 300px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis"
|
style="max-width: 300px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis"
|
||||||
>
|
>
|
||||||
|
<a-tooltip v-if="item.inProgress" placement="top" title="当前有内容已保存,但还未发布。">
|
||||||
|
<a-icon
|
||||||
|
class="cursor-pointer"
|
||||||
|
style="margin-right: 3px"
|
||||||
|
theme="twoTone"
|
||||||
|
twoToneColor="#52c41a"
|
||||||
|
type="info-circle"
|
||||||
|
@click="handleEditClick(item)"
|
||||||
|
/>
|
||||||
|
</a-tooltip>
|
||||||
|
|
||||||
<a-tooltip v-if="item.status === 'PUBLISHED'" :title="'点击访问【' + item.title + '】'" placement="top">
|
<a-tooltip v-if="item.status === 'PUBLISHED'" :title="'点击访问【' + item.title + '】'" placement="top">
|
||||||
<a :href="item.fullPath" class="no-underline" target="_blank">
|
<a :href="item.fullPath" class="no-underline" target="_blank">
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
|
@ -125,6 +136,7 @@
|
||||||
theme="twoTone"
|
theme="twoTone"
|
||||||
twoToneColor="#52c41a"
|
twoToneColor="#52c41a"
|
||||||
type="info-circle"
|
type="info-circle"
|
||||||
|
@click="handleEditClick(record)"
|
||||||
/>
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip v-if="record.status === 'PUBLISHED'" :title="'点击访问【' + text + '】'" placement="top">
|
<a-tooltip v-if="record.status === 'PUBLISHED'" :title="'点击访问【' + text + '】'" placement="top">
|
||||||
|
|
Loading…
Reference in New Issue