before gemiin
This commit is contained in:
@@ -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<{
|
||||
|
||||
Reference in New Issue
Block a user