mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
✏️ 修正 vod.id 类型
This commit is contained in:
@@ -21,7 +21,7 @@ import { onMounted, ref, toRaw } from "vue";
|
|||||||
interface TpVod {
|
interface TpVod {
|
||||||
insert: {
|
insert: {
|
||||||
vod: {
|
vod: {
|
||||||
id: number;
|
id: string;
|
||||||
duration: number;
|
duration: number;
|
||||||
cover: string;
|
cover: string;
|
||||||
resolutions: Array<{
|
resolutions: Array<{
|
||||||
@@ -52,7 +52,7 @@ console.log("tpVod", props.data.insert.vod.id, toRaw(props.data).insert.vod);
|
|||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const option: Option = {
|
const option: Option = {
|
||||||
id: props.data.insert.vod.id.toString(),
|
id: props.data.insert.vod.id,
|
||||||
container: `#tp-vod-${props.data.insert.vod.id}`,
|
container: `#tp-vod-${props.data.insert.vod.id}`,
|
||||||
url: "",
|
url: "",
|
||||||
poster: props.data.insert.vod.cover,
|
poster: props.data.insert.vod.cover,
|
||||||
|
|||||||
Reference in New Issue
Block a user