diff --git a/apps/web-ele/src/api/mall/promotion/article/index.ts b/apps/web-ele/src/api/mall/promotion/article/index.ts index 9a2ac97d7..cf2f90b7a 100644 --- a/apps/web-ele/src/api/mall/promotion/article/index.ts +++ b/apps/web-ele/src/api/mall/promotion/article/index.ts @@ -5,32 +5,19 @@ import { requestClient } from '#/api/request'; export namespace MallArticleApi { /** 文章管理 */ export interface Article { - /** 文章编号 */ - id: number; - /** 分类编号 */ - categoryId: number; - /** 文章标题 */ - title: string; - /** 作者 */ - author: string; - /** 封面图 */ - picUrl: string; - /** 文章简介 */ - introduction: string; - /** 浏览数量 */ - browseCount: string; - /** 排序 */ - sort: number; - /** 状态 */ - status: number; - /** 商品编号 */ - spuId: number; - /** 是否热门 */ - recommendHot: boolean; - /** 是否轮播图 */ - recommendBanner: boolean; - /** 文章内容 */ - content: string; + id: number; // 文章编号 + categoryId: number; // 分类编号 + title: string; // 文章标题 + author: string; // 作者 + picUrl: string; // 封面图 + introduction: string; // 文章简介 + browseCount: string; // 浏览数量 + sort: number; // 排序 + status: number; // 状态 + spuId: number; // 商品编号 + recommendHot: boolean; // 是否热门 + recommendBanner: boolean; // 是否轮播图 + content: string; // 文章内容 } } diff --git a/apps/web-ele/src/views/system/user/modules/dept-tree.vue b/apps/web-ele/src/views/system/user/modules/dept-tree.vue index 06035c620..9c4d5a8bf 100644 --- a/apps/web-ele/src/views/system/user/modules/dept-tree.vue +++ b/apps/web-ele/src/views/system/user/modules/dept-tree.vue @@ -31,9 +31,9 @@ function handleSearch(value: string) { } /** 选中部门 */ -const handleSelect = (data: any) => { +function handleSelect(data: any) { emit('select', data); -}; +} /** 初始化 */ onMounted(async () => {