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

update

parent 1e2b8a23
...@@ -50,7 +50,6 @@ export default defineComponent({ ...@@ -50,7 +50,6 @@ export default defineComponent({
embeddedUrl.value = props.dataUpdate?.embeddedUrl as string; embeddedUrl.value = props.dataUpdate?.embeddedUrl as string;
status.value = props.dataUpdate?.status as number; status.value = props.dataUpdate?.status as number;
urlFileLocal.value = props.dataUpdate?.imageUrl as string; urlFileLocal.value = props.dataUpdate?.imageUrl as string;
imageAPI.value = imageAPI.value =
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
configImg.API_IMAGE_ENDPOINT + props.dataUpdate?.imageUrl; configImg.API_IMAGE_ENDPOINT + props.dataUpdate?.imageUrl;
......
...@@ -15,19 +15,13 @@ export default defineComponent({ ...@@ -15,19 +15,13 @@ export default defineComponent({
setup(_, context) { setup(_, context) {
const configImg = config; const configImg = config;
const userTableColumnsHotProduct = [ const userTableColumnsHotProduct = [
{
name: 'STT',
required: true,
label: 'STT',
align: 'center',
sortable: false,
},
{ {
name: 'name', name: 'name',
field: 'name', field: 'name',
required: true, required: true,
label: i18n.global.t('artist.hotProduct.tableColumnsProduct.name'), label: i18n.global.t('artist.hotProduct.tableColumnsProduct.name'),
align: 'center', headerStyle: 'text-align: center !important;',
align: 'left',
sortable: false, sortable: false,
}, },
{ {
...@@ -45,7 +39,8 @@ export default defineComponent({ ...@@ -45,7 +39,8 @@ export default defineComponent({
field: 'embeddedUrl', field: 'embeddedUrl',
required: true, required: true,
label: i18n.global.t('artist.hotProduct.tableColumnsProduct.urlEmbed'), label: i18n.global.t('artist.hotProduct.tableColumnsProduct.urlEmbed'),
align: 'center', headerStyle: 'text-align: center !important;',
align: 'left',
sortable: false, sortable: false,
}, },
{ {
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
:no-data-label="$t('emptyData')" :no-data-label="$t('emptyData')"
row-key="name" row-key="name"
separator="cell" separator="cell"
wrap-cells
hide-pagination hide-pagination
> >
<template v-slot:body-cell-status="rowData"> <template v-slot:body-cell-status="rowData">
......
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