feat(web): 优化页面元素变化
This commit is contained in:
@@ -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: [
|
||||
|
||||
@@ -115,6 +115,8 @@ export function tabData() {
|
||||
{
|
||||
name: 'description',
|
||||
label: '描述',
|
||||
type: 'tpl',
|
||||
tpl: '${TRUNCATE(description, 100)}',
|
||||
},
|
||||
mappingField('state', '状态', permissionStateMapping),
|
||||
timeField('createdTime', '创建时间'),
|
||||
|
||||
Reference in New Issue
Block a user