+
已读:{{ book.durChapterTitle }}
最新:{{ book.latestChapterTitle }}
@@ -52,7 +52,7 @@
import { dateFormat } from "../plugins/utils";
const props = defineProps(["books", "isSearch"]);
const emit = defineEmits(["bookClick"]);
-const handleClick = (book) => emit("bookClick", toRaw(book));
+const handleClick = (book) => emit("bookClick", book);
const getCover = (coverUrl) => {
return /^data:/.test(coverUrl)
? coverUrl
@@ -64,6 +64,7 @@ const getCover = (coverUrl) => {
const subJustify = computed(() =>
props.isSearch ? "space-between" : "flex-start"
);
+