diff --git a/src/components/VideoReview.vue b/src/components/VideoReview.vue index a6a12cc..b2c70e0 100644 --- a/src/components/VideoReview.vue +++ b/src/components/VideoReview.vue @@ -60,7 +60,7 @@ .reply{ padding-top: 28px; border-top: 1px solid #ededed; - ::v-deep() .ant-input{ + ::v-deep(.ant-input){ font-size: 11px; } .send{ diff --git a/src/types/index.d.ts b/src/types/index.d.ts new file mode 100644 index 0000000..c25251a --- /dev/null +++ b/src/types/index.d.ts @@ -0,0 +1,21 @@ +/** + * 只添加了一些必要的参数,并没有写完整,因为剩下的大部分用不到 + */ + + +// 图片选择 +export interface ImgInfo { + file: string; +} + +// 表单提交的验证 +export interface FromSend { + preventDefault: Function; +} + +// 视频文件 +export interface VideoInfo { + type: string; + name: string; + uid: string; +} \ No newline at end of file diff --git a/src/views/login/About.vue b/src/views/login/About.vue index d9f80db..b521ae4 100644 --- a/src/views/login/About.vue +++ b/src/views/login/About.vue @@ -89,10 +89,10 @@ export default defineComponent({ });