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

Update index.vue

parent 32749220
...@@ -86,10 +86,10 @@ ...@@ -86,10 +86,10 @@
<template v-slot:body-cell-content="item"> <template v-slot:body-cell-content="item">
<td> <td>
<div class="ellipsis-3-lines"> <div class="ellipsis-3-lines">
{{ !item.row.content ? '' : item.row.content }} <div v-html="!item.row.content ? '' : item.row.content"></div>
<q-tooltip :offset="[10, 10]" max-width="30%">{{ <q-tooltip :offset="[10, 10]" max-width="20%"
!item.row.content ? '' : item.row.content ><div v-html="!item.row.content ? '' : item.row.content"></div
}}</q-tooltip> ></q-tooltip>
</div> </div>
</td> </td>
</template> </template>
...@@ -210,21 +210,21 @@ export default defineComponent({ ...@@ -210,21 +210,21 @@ export default defineComponent({
sortable: false, sortable: false,
}, },
{ {
name: 'title', name: 'url',
field: 'title', field: 'url',
required: true, required: true,
label: i18n.global.t('listConfigSystem.titleColumnsTable.title'), label: i18n.global.t('listConfigSystem.titleColumnsTable.url'),
align: 'left', align: 'left',
headerStyle: 'text-align: center !important; width: 11%', headerStyle: 'text-align: center !important; width: 14%',
sortable: false, sortable: false,
}, },
{ {
name: 'url', name: 'title',
field: 'url', field: 'title',
required: true, required: true,
label: i18n.global.t('listConfigSystem.titleColumnsTable.url'), label: i18n.global.t('listConfigSystem.titleColumnsTable.title'),
align: 'left', align: 'left',
headerStyle: 'text-align: center !important; width: 14%', headerStyle: 'text-align: center !important; width: 11%',
sortable: false, sortable: false,
}, },
{ {
...@@ -368,11 +368,11 @@ export default defineComponent({ ...@@ -368,11 +368,11 @@ export default defineComponent({
const updateConfigSystem = async () => { const updateConfigSystem = async () => {
try { try {
const response = (await api({ const response = (await api({
url: API_PATHS.updateMenu, url: API_PATHS.updateConfigSystem,
method: 'POST', method: 'POST',
data: { data: {
id: ConfigSystemId.value, id: ConfigSystemId.value,
name: namePage.value, namePage: namePage.value,
title: title.value, title: title.value,
url: url.value, url: url.value,
content: content.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