feat: update
This commit is contained in:
@@ -80,12 +80,6 @@ const navigateToEditPost = (post) => {
|
||||
router.push(`/posts/edit/${post.id}`);
|
||||
};
|
||||
|
||||
// View post details
|
||||
const viewPost = (post) => {
|
||||
// In a real app, this would navigate to a post detail page
|
||||
toast.add({ severity: 'info', summary: '查看', detail: `查看文章: ${post.title}`, life: 3000 });
|
||||
};
|
||||
|
||||
// Delete post
|
||||
const confirmDelete = (post) => {
|
||||
confirm.require({
|
||||
@@ -295,9 +289,6 @@ const handleSendConfirm = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
const formatUserLabel = (user) => {
|
||||
return `${user.nickname} (${user.phone})`;
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user