revert: refs #6321 restore some components
This commit is contained in:
parent
f97bd98c00
commit
60e9346333
|
@ -29,15 +29,7 @@ module.exports = configure(function (/* ctx */) {
|
|||
// app boot file (/src/boot)
|
||||
// --> boot files are part of "main.js"
|
||||
// https://v2.quasar.dev/quasar-cli/boot-files
|
||||
boot: [
|
||||
'i18n',
|
||||
'axios',
|
||||
'vnDate',
|
||||
'validations',
|
||||
'quasar',
|
||||
'quasar.defaults',
|
||||
'global-components',
|
||||
],
|
||||
boot: ['i18n', 'axios', 'vnDate', 'validations', 'quasar', 'quasar.defaults'],
|
||||
importStrategy: 'auto',
|
||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
|
||||
css: ['app.scss'],
|
||||
|
|
|
@ -25,7 +25,7 @@ const $props = defineProps({
|
|||
},
|
||||
limit: {
|
||||
type: [String, Number],
|
||||
default: '30',
|
||||
default: '',
|
||||
},
|
||||
params: {
|
||||
type: Object,
|
||||
|
|
|
@ -5,7 +5,6 @@ import FetchData from 'components/FetchData.vue';
|
|||
import { ref } from 'vue';
|
||||
import CrudModel from 'components/CrudModel.vue';
|
||||
import RoadmapAddStopForm from 'pages/Route/Roadmap/RoadmapAddStopForm.vue';
|
||||
import { QBtn } from 'quasar';
|
||||
|
||||
const { t } = useI18n();
|
||||
const route = useRoute();
|
||||
|
|
|
@ -232,7 +232,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
:row-click="({ routeFk }) => tableRef.redirect(routeFk)"
|
||||
:table="{
|
||||
'row-key': '$index',
|
||||
selection: 'single',
|
||||
selection: 'multiple',
|
||||
}"
|
||||
>
|
||||
<template #column-id="{ row }">
|
||||
|
|
|
@ -6,6 +6,7 @@ import CardSummary from 'components/ui/CardSummary.vue';
|
|||
import VnLv from 'src/components/ui/VnLv.vue';
|
||||
import { dashIfEmpty } from 'src/filters';
|
||||
import VnUserLink from 'src/components/ui/VnUserLink.vue';
|
||||
import VnTitle from 'src/components/common/VnTitle.vue';
|
||||
|
||||
const route = useRoute();
|
||||
const { t } = useI18n();
|
||||
|
|
|
@ -274,6 +274,7 @@ async function getData() {
|
|||
const onStoreDataChange = () => {
|
||||
const newData = JSON.parse(JSON.stringify(arrayData.store.data)) || [];
|
||||
rows.value = newData;
|
||||
// el objetivo de esto es guardar una copia de los valores iniciales de todas las rows para corroborar si la data cambio antes de guardar los cambios
|
||||
originalRowDataCopy.value = JSON.parse(JSON.stringify(newData));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue