Update RowExpansionDoc.vue
parent
d46d6091d1
commit
99ca28023a
|
@ -79,7 +79,7 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
products: null,
|
||||
expandedRows: [],
|
||||
expandedRows: {},
|
||||
code: {
|
||||
basic: `
|
||||
<DataTable v-model:expandedRows="expandedRows" :value="products" dataKey="id"
|
||||
|
@ -211,7 +211,7 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
products: null,
|
||||
expandedRows: []
|
||||
expandedRows: {}
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
@ -340,7 +340,7 @@ import { useToast } from 'primevue/usetoast';
|
|||
import { ProductService } from '@/service/ProductService';
|
||||
|
||||
const products = ref();
|
||||
const expandedRows = ref([]);
|
||||
const expandedRows = ref({});
|
||||
const toast = useToast();
|
||||
|
||||
onMounted(() => {
|
||||
|
|
Loading…
Reference in New Issue