mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-21 05:25:45 +08:00
🏷️ 修正类型
This commit is contained in:
@@ -121,7 +121,7 @@ import TpParser from "./tp-parser.vue";
|
|||||||
|
|
||||||
type TprReplyProps =
|
type TprReplyProps =
|
||||||
| { mode: "sub"; modelValue: TGApp.BBS.Reply.ReplyFull }
|
| { mode: "sub"; modelValue: TGApp.BBS.Reply.ReplyFull }
|
||||||
| { mode: "main"; modelValue: TGApp.BBS.Reply.ReplyFull; pinId: string };
|
| { mode: "main"; modelValue: TGApp.BBS.Reply.ReplyFull; pinId?: string };
|
||||||
|
|
||||||
const props = defineProps<TprReplyProps>();
|
const props = defineProps<TprReplyProps>();
|
||||||
const replyId = `reply_${props.modelValue.reply.post_id}_${props.modelValue.reply.floor_id}_${props.modelValue.reply.reply_id}`;
|
const replyId = `reply_${props.modelValue.reply.post_id}_${props.modelValue.reply.floor_id}_${props.modelValue.reply.reply_id}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user