From 928b949a58c7da3a7a5b9cb721717e05f8c68e8a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 21 Feb 2022 17:47:25 +0800 Subject: [PATCH] feat: support click on the tip icon to go to edit page (#448) Signed-off-by: Ryan Wang --- src/views/post/PostList.vue | 2 ++ src/views/sheet/components/CustomSheetList.vue | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/views/post/PostList.vue b/src/views/post/PostList.vue index 4417e616..50b20bb1 100644 --- a/src/views/post/PostList.vue +++ b/src/views/post/PostList.vue @@ -185,6 +185,7 @@ theme="twoTone" twoToneColor="#52c41a" type="info-circle" + @click="handleEditClick(item)" /> + + + + {{ item.title }} @@ -125,6 +136,7 @@ theme="twoTone" twoToneColor="#52c41a" type="info-circle" + @click="handleEditClick(record)" />