|
|
|
@ -104,6 +104,8 @@ const itemb = ref({id: 0, bezeichnung: '', kurzbeschreibung: '', groesse: '', fa
|
|
|
|
|
const {data: itemsb } = await useFetch('http://ubodroid-2:8081/api/v1/itb'); |
|
|
|
|
const {data: typen } = await useFetch('http://ubodroid-2:8081/api/v1/typ'); |
|
|
|
|
|
|
|
|
|
let imgurl = ref(); |
|
|
|
|
|
|
|
|
|
async function openDetail(id) { |
|
|
|
|
await navigateTo({ |
|
|
|
|
path: '/itembdetail', |
|
|
|
@ -121,7 +123,7 @@ async function openEval(id) {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
function getImageUrl(name) { |
|
|
|
|
return new URL(`${pfad}/${name}`, import.meta.url).href; |
|
|
|
|
return imgurl = computed(() => { return new URL(`${pfad}/${name}`, import.meta.url).href; }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const onNew = () => { |
|
|
|
|