Commit ee6ef607 authored by Tình Trương's avatar Tình Trương

Update index.vue

parent 32749220
......@@ -86,10 +86,10 @@
<template v-slot:body-cell-content="item">
<td>
<div class="ellipsis-3-lines">
{{ !item.row.content ? '' : item.row.content }}
<q-tooltip :offset="[10, 10]" max-width="30%">{{
!item.row.content ? '' : item.row.content
}}</q-tooltip>
<div v-html="!item.row.content ? '' : item.row.content"></div>
<q-tooltip :offset="[10, 10]" max-width="20%"
><div v-html="!item.row.content ? '' : item.row.content"></div
></q-tooltip>
</div>
</td>
</template>
......@@ -210,21 +210,21 @@ export default defineComponent({
sortable: false,
},
{
name: 'title',
field: 'title',
name: 'url',
field: 'url',
required: true,
label: i18n.global.t('listConfigSystem.titleColumnsTable.title'),
label: i18n.global.t('listConfigSystem.titleColumnsTable.url'),
align: 'left',
headerStyle: 'text-align: center !important; width: 11%',
headerStyle: 'text-align: center !important; width: 14%',
sortable: false,
},
{
name: 'url',
field: 'url',
name: 'title',
field: 'title',
required: true,
label: i18n.global.t('listConfigSystem.titleColumnsTable.url'),
label: i18n.global.t('listConfigSystem.titleColumnsTable.title'),
align: 'left',
headerStyle: 'text-align: center !important; width: 14%',
headerStyle: 'text-align: center !important; width: 11%',
sortable: false,
},
{
......@@ -368,11 +368,11 @@ export default defineComponent({
const updateConfigSystem = async () => {
try {
const response = (await api({
url: API_PATHS.updateMenu,
url: API_PATHS.updateConfigSystem,
method: 'POST',
data: {
id: ConfigSystemId.value,
name: namePage.value,
namePage: namePage.value,
title: title.value,
url: url.value,
content: content.value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment