ajouter lien de l'api a cote de l'input

front
Gwenael PLANCHON 1 year ago
parent ffb6886268
commit 3ed15fb588

@ -10,6 +10,7 @@ export default{
//données obtenues par l'api //données obtenues par l'api
scientifiques: [], scientifiques: [],
page:0, page:0,
REST_API:REST_API,
//HATEOAS //HATEOAS
self:"", self:"",
@ -57,9 +58,10 @@ export default{
<template> <template>
<!-- TODO : remplacer input par select ?--> <!-- TODO : remplacer input par select ?-->
<label for="endpoint">Endpoint API (REST) {{ REST_API }}</label> <label for="endpoint">Endpoint API (REST) {{ REST_API }}/</label>
<input v-model="endpoint" id="endpoint"> <input v-model="endpoint" id="endpoint">
<button @click="rafraichirEndpoint()">Rafraichir</button> <button @click="rafraichirEndpoint()">Rafraichir</button>
<!-- TODO : popup qui affiche Ajout.vue pour ajouter une nouvelle ligne-->
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>

Loading…
Cancel
Save