Loading CHANGELOG.md +5 −0 Changes for CHANGELOG.md: 5 added lines, 0 removed lines. Original line number Diff line number Diff line CHANGELOG ========= 6.2.2 (04/04/2024) ------------------ - Utilisatioh de v-model pour UTableAjax 6.2.1 (29/03/2024) ------------------ Loading components/UTableAjax.vue +3 −1 Changes for components/UTableAjax.vue: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -37,7 +37,9 @@ export default { name: "UTableAjax", emits: ['update:modelValue'], props: { modelValue: {required: true}, id: {required: false, type: String}, size: {required: false, default: 10}, count: {required: false}, Loading Loading @@ -127,7 +129,7 @@ export default { }).then(response => { let data = response.data; this.dCount = data.count; this.$emit('data', data.data); this.$emit('update:modelValue', data.data) }); }, orderBy(column) Loading doc/composants/UTableAjax.md +1 −5 Changes for doc/composants/UTableAjax.md: 1 added line, 5 removed lines. Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ Exemple d'utilisation côté client, dans un composant Vue : ```vue <template> <u-table-ajax :data-url="this.dataUrl" @data="maj"> <u-table-ajax :data-url="this.dataUrl" v-model="lines"> <thead> <tr> <th column="ID">Id</th><!-- l'attribut column doit être renseigné pour pouvoir la rendre triable --> Loading Loading @@ -42,10 +42,6 @@ export default { }; }, methods: { maj(lines) { this.lines = lines; }, editUrl(id) { return unicaenVue.url('mon-url/:id', {id: id}); Loading Loading
CHANGELOG.md +5 −0 Changes for CHANGELOG.md: 5 added lines, 0 removed lines. Original line number Diff line number Diff line CHANGELOG ========= 6.2.2 (04/04/2024) ------------------ - Utilisatioh de v-model pour UTableAjax 6.2.1 (29/03/2024) ------------------ Loading
components/UTableAjax.vue +3 −1 Changes for components/UTableAjax.vue: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -37,7 +37,9 @@ export default { name: "UTableAjax", emits: ['update:modelValue'], props: { modelValue: {required: true}, id: {required: false, type: String}, size: {required: false, default: 10}, count: {required: false}, Loading Loading @@ -127,7 +129,7 @@ export default { }).then(response => { let data = response.data; this.dCount = data.count; this.$emit('data', data.data); this.$emit('update:modelValue', data.data) }); }, orderBy(column) Loading
doc/composants/UTableAjax.md +1 −5 Changes for doc/composants/UTableAjax.md: 1 added line, 5 removed lines. Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ Exemple d'utilisation côté client, dans un composant Vue : ```vue <template> <u-table-ajax :data-url="this.dataUrl" @data="maj"> <u-table-ajax :data-url="this.dataUrl" v-model="lines"> <thead> <tr> <th column="ID">Id</th><!-- l'attribut column doit être renseigné pour pouvoir la rendre triable --> Loading Loading @@ -42,10 +42,6 @@ export default { }; }, methods: { maj(lines) { this.lines = lines; }, editUrl(id) { return unicaenVue.url('mon-url/:id', {id: id}); Loading