1
0

feat(web): 优化页面元素变化

This commit is contained in:
2024-12-23 18:18:01 +08:00
parent fbb0ce5da3
commit 30b991cc28
2 changed files with 5 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ useAmis((information) => {
label: '数据市场',
icon: 'fa fa-store',
level: 'link',
className: 'text-bold text-white',
className: "text-bold ${IF(activePage === 'market', 'text-primary', 'text-white')}",
onEvent: {
click: {
actions: [
@@ -93,7 +93,7 @@ useAmis((information) => {
label: '我的资源',
icon: 'fa fa-database',
level: 'link',
className: 'text-bold text-white',
className: "text-bold ${IF(activePage === 'tab', 'text-primary', 'text-white')}",
onEvent: {
click: {
actions: [
@@ -138,7 +138,7 @@ useAmis((information) => {
],
bodyClassName: 'p-0',
data: {
activePage: 'market',
activePage: 'tab',
tabActiveKey: 'data'
},
body: [

View File

@@ -115,6 +115,8 @@ export function tabData() {
{
name: 'description',
label: '描述',
type: 'tpl',
tpl: '${TRUNCATE(description, 100)}',
},
mappingField('state', '状态', permissionStateMapping),
timeField('createdTime', '创建时间'),