diff --git a/api/toolbox/types.ts b/api/toolbox/types.ts index d764a39..4e234b1 100644 --- a/api/toolbox/types.ts +++ b/api/toolbox/types.ts @@ -6,6 +6,7 @@ export interface TcreateReq { createAddress?: string createIp?: string projectType: number[] + categoryId?: number files: { id: number title: string diff --git a/pages/toolbox-publish/index.vue b/pages/toolbox-publish/index.vue index f32f897..5d75858 100644 --- a/pages/toolbox-publish/index.vue +++ b/pages/toolbox-publish/index.vue @@ -26,18 +26,13 @@ > - - + + - - + + 原创开发 转载分享 @@ -149,6 +144,7 @@ coverImages: [], files: [], description: '', + categoryId: 0, }) const loading = ref(false)