Browse Source

schon wieder ein Test

pull/1/head
Georg Spar 1 year ago
parent
commit
c69f222411
  1. 4
      components/Bought.vue

4
components/Bought.vue

@ -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 = () => {

Loading…
Cancel
Save