Skip to content

Let's use AI to Earn!

fix: 修复热更新失效问题

gaoSire996485b2c54
diff --git a/src/app/[lng]/publish/videoPage/components/VideoChooseItem.tsx b/src/app/[lng]/publish/videoPage/components/VideoChooseItem.tsx
index 92766381..d220b25d 100644
--- a/src/app/[lng]/publish/videoPage/components/VideoChooseItem.tsx
+++ b/src/app/[lng]/publish/videoPage/components/VideoChooseItem.tsx
@@ -12,8 +12,7 @@ import {
import { useVideoPageStore } from "@/app/[lng]/publish/videoPage/useVideoPageStore";
import { useShallow } from "zustand/react/shallow";
import { formatSeconds } from "@/utils";
-import { AccountChooseType } from "../page";
-import { IVideoChooseItem } from "@/app/[lng]/publish/videoPage/videoPage.type";
+import {AccountChooseType, IVideoChooseItem} from "@/app/[lng]/publish/videoPage/videoPage.type";
import { AccountStatus } from "@/app/config/accountConfig";
import VideoChoose from "@/app/[lng]/publish/components/Choose/VideoChoose";
import { AccountPlatInfoMap } from "@/app/config/platConfig";
diff --git a/src/app/[lng]/publish/videoPage/page.tsx b/src/app/[lng]/publish/videoPage/page.tsx
index 6e49ac83..203e5251 100644
--- a/src/app/[lng]/publish/videoPage/page.tsx
+++ b/src/app/[lng]/publish/videoPage/page.tsx
@@ -14,18 +14,12 @@ import { PubType } from "@/app/config/publishConfig";
import VideoChooseItem from "@/app/[lng]/publish/videoPage/components/VideoChooseItem";
import CommonPubSetting from "@/app/[lng]/publish/videoPage/components/CommonPubSetting";
import VideoPubSetModal from "@/app/[lng]/publish/videoPage/components/VideoPubSetModal/VideoPubSetModal";
-import { IVideoChooseItem } from "@/app/[lng]/publish/videoPage/videoPage.type";
+import {
+ AccountChooseType,
+ IVideoChooseItem,
+} from "@/app/[lng]/publish/videoPage/videoPage.type";
import { useEffect, useRef, useState } from "react";
-export enum AccountChooseType {
- // 多选
- MultiSelect = 0,
- // 单选
- Radio = 1,
- // 替换
- Replace = 2,
-}
-
export default function Page() {
const {
videoListChoose,
diff --git a/src/app/[lng]/publish/videoPage/video.module.scss b/src/app/[lng]/publish/videoPage/video.module.scss
index 39ddc5c0..744b8aad 100644
--- a/src/app/[lng]/publish/videoPage/video.module.scss
+++ b/src/app/[lng]/publish/videoPage/video.module.scss
@@ -27,7 +27,6 @@
font-size: var(--fs-sm);
color: var(--grayColor10);
margin: 20px 0;
- //color: red;
}
}
@@ -81,7 +80,6 @@
padding: 20px 0 10px 10px;
border-left: 1px solid rgb(232, 232, 232);
overflow: auto;
- color: blue;
}
&-footer {
text-align: center;
diff --git a/src/app/[lng]/publish/videoPage/videoPage.type.ts b/src/app/[lng]/publish/videoPage/videoPage.type.ts
index 6489d2b8..f15e4129 100644
--- a/src/app/[lng]/publish/videoPage/videoPage.type.ts
+++ b/src/app/[lng]/publish/videoPage/videoPage.type.ts
@@ -1,8 +1,8 @@
-import { SocialAccount } from "@/api/types/account.type";
-import { PlatType } from "@/app/config/platConfig";
-import { VisibleTypeEnum } from "@/app/config/publishConfig";
-import { IVideoFile } from "@/app/[lng]/publish/components/Choose/VideoChoose";
-import { IImgFile } from "@/app/[lng]/publish/components/Choose/ImgChoose";
+import {SocialAccount} from "@/api/types/account.type";
+import {PlatType} from "@/app/config/platConfig";
+import {VisibleTypeEnum} from "@/app/config/publishConfig";
+import {IVideoFile} from "@/app/[lng]/publish/components/Choose/VideoChoose";
+import {IImgFile} from "@/app/[lng]/publish/components/Choose/ImgChoose";
// 微信视频号活动
export interface WxSphEvent {
@@ -110,3 +110,12 @@ export interface IVideoChooseItem {
}
export type AccountInfo = SocialAccount;
+
+export enum AccountChooseType {
+ // 多选
+ MultiSelect = 0,
+ // 单选
+ Radio = 1,
+ // 替换
+ Replace = 2,
+}
\ No newline at end of file