before gemiin

This commit is contained in:
2026-02-22 22:18:32 +01:00
parent fb33540bb0
commit 9db5cbf236
147 changed files with 7948 additions and 531 deletions

View File

@@ -75,7 +75,7 @@
>
<option :value="null"> Associer à une plante existante (optionnel)</option>
<option v-for="p in plants" :key="p.id" :value="p.id">
{{ p.nom_commun }}
{{ formatPlantLabel(p) }}
</option>
</select>
@@ -111,6 +111,7 @@
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import axios from 'axios'
import { formatPlantLabel } from '@/utils/plants'
interface IdentifyResult {
species: string
@@ -122,6 +123,7 @@ interface IdentifyResult {
interface Plant {
id: number
nom_commun: string
variete?: string
}
const emit = defineEmits<{