修复首页置顶排序问题

This commit is contained in:
cjx 2024-11-02 19:25:11 +08:00
parent e052ab76f9
commit 66bd74b32d
3 changed files with 23 additions and 5 deletions

View File

@ -11,7 +11,7 @@ export default OakComponent({
$attr: {
topState: 1,
},
$direction: 'desc',
$direction: 'asc',
},
},
{

View File

@ -584,6 +584,20 @@ const i18ns: I18n[] = [
}
}
},
{
id: "deabf32f550dba8ce03111112ef588ce",
namespace: "collect",
language: "zh-CN",
module: "",
position: "oak-app-domain/Collect",
data: {
"name": "收藏记录",
"attr": {
"essay": "文章",
"user": "用户"
}
}
},
{
id: "f70261a2fc23af2a9f459353e5ac1ea3",
namespace: "comment",
@ -673,7 +687,10 @@ const i18ns: I18n[] = [
"withdraw": "撤回",
"setTop": "置顶",
"cancelTop": "取消置顶",
"like": "点赞"
"like": "点赞",
"unlike": "取消点赞",
"collect": "收藏",
"uncollect": "取消收藏"
},
"v": {
"iState": {
@ -682,8 +699,8 @@ const i18ns: I18n[] = [
"withdrawn": "已撤回"
},
"topState": {
"isTop": "置顶",
"noTop": "不置顶"
"isTop": "置顶",
"notTop": "未置顶"
}
}
}

View File

@ -85,7 +85,8 @@ export const entityDesc: EntityDesc<
withdraw: '撤回',
setTop: '置顶',
cancelTop: '取消置顶',
like:'点赞'
like: '点赞',
unlike:'取消点赞'
},
v: {
iState: {