feat(article): 优化文章列表页面功能
- 将标题列改为可点击链接,支持直接跳转到文章详情页 - 新增操作列,添加查看按钮便于访问文章详情 - 修复事件绑定语法错误,将@pressEnter改为@press-enter - 修复分页组件事件绑定错误,将@showSizeChange改为@show-size-change - 实现路由参数监听,支持通过URL参数keywords自动搜索文章 - 临时禁用开发者中心的产品选择下拉菜单 - 移除已废弃的开发者中心相关页面和百色中学API接口文件
This commit is contained in:
@@ -118,6 +118,9 @@ export interface CmsArticle {
|
||||
*/
|
||||
export interface CmsArticleParam extends PageParam {
|
||||
articleId?: number;
|
||||
// 栏目/导航ID(前台常用)
|
||||
categoryId?: number;
|
||||
navigationId?: number;
|
||||
model?: string;
|
||||
status?: number;
|
||||
keywords?: string;
|
||||
|
||||
@@ -21,5 +21,6 @@ export interface CmsArticleContent {
|
||||
*/
|
||||
export interface CmsArticleContentParam extends PageParam {
|
||||
id?: number;
|
||||
articleId?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
|
||||
@@ -103,6 +103,7 @@ export const CmsNavigation = {} as const;
|
||||
*/
|
||||
export interface CmsNavigationParam extends PageParam {
|
||||
navigationId?: number;
|
||||
parentId?: number;
|
||||
model?: string;
|
||||
lang?: string;
|
||||
recommend?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user