style: 菜单/配置表格文字靠左

This commit is contained in:
TsMask
2023-11-17 10:03:02 +08:00
parent ae6feb15a2
commit 69bd3879b1
2 changed files with 12 additions and 9 deletions

View File

@@ -104,17 +104,17 @@ let tableColumns: ColumnsType = [
{ {
title: t('views.system.config.configName'), title: t('views.system.config.configName'),
dataIndex: 'configName', dataIndex: 'configName',
align: 'center', align: 'left',
}, },
{ {
title: t('views.system.config.configKey'), title: t('views.system.config.configKey'),
dataIndex: 'configKey', dataIndex: 'configKey',
align: 'center', align: 'left',
}, },
{ {
title: t('views.system.config.configValue'), title: t('views.system.config.configValue'),
dataIndex: 'configValue', dataIndex: 'configValue',
align: 'center', align: 'left',
}, },
{ {
title: t('views.system.config.configType'), title: t('views.system.config.configType'),

View File

@@ -96,7 +96,7 @@ let tableColumns: ColumnsType = [
{ {
title: t('views.system.menu.menuName'), title: t('views.system.menu.menuName'),
dataIndex: 'menuName', dataIndex: 'menuName',
align: 'center', align: 'left',
}, },
{ {
title: t('views.system.menu.menuId'), title: t('views.system.menu.menuId'),
@@ -117,12 +117,12 @@ let tableColumns: ColumnsType = [
{ {
title: t('views.system.menu.perId'), title: t('views.system.menu.perId'),
dataIndex: 'perms', dataIndex: 'perms',
align: 'center', align: 'left',
}, },
{ {
title: t('views.system.menu.formLoc'), title: t('views.system.menu.formLoc'),
dataIndex: 'component', dataIndex: 'component',
align: 'center', align: 'left',
}, },
{ {
title: t('views.system.menu.status'), title: t('views.system.menu.status'),
@@ -687,8 +687,11 @@ onMounted(() => {
<template #icon><DeleteOutlined /></template> <template #icon><DeleteOutlined /></template>
</a-button> </a-button>
</a-tooltip> </a-tooltip>
<a-tooltip v-if="record.menuType !== MENU_TYPE_BUTTON"> <a-tooltip
<template #title>{{t('views.system.menu.addSon')}}</template> placement="topLeft"
v-if="record.menuType !== MENU_TYPE_BUTTON"
>
<template #title>{{ t('views.system.menu.addSon') }}</template>
<a-button <a-button
type="link" type="link"
@click.prevent=" @click.prevent="
@@ -1129,7 +1132,7 @@ onMounted(() => {
<a-tooltip placement="topLeft"> <a-tooltip placement="topLeft">
<template #title> <template #title>
<div> <div>
{{t('views.system.menu.perms')}} {{ t('views.system.menu.perms') }}
</div> </div>
</template> </template>
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" /> <InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />