feat: feat

This commit is contained in:
ex_zhangwenlei@exiot.cmcc
2024-01-11 00:11:27 +08:00
parent 3283a2d975
commit 3e429b95a2
32 changed files with 793 additions and 1377 deletions

View File

@@ -15,8 +15,15 @@ const imgUrl=ref('')
const getImageStoreItem=async (item:any):Promise<string>=>{
const key=item.id;
const image=await imageDbStore.getItem(key) as string
let image=''
if(item.url=='Storage'){
const key=item.id;
image=await imageDbStore.getItem(key) as string
}
else{
image=item.url
}
return image
}
@@ -28,7 +35,7 @@ onMounted(async ()=>{
</script>
<template>
<img :src="imgUrl" Alt="Image"/>
<img :src="imgUrl" alt="Image" class="object-cover h-full rounded-xl"/>
</template>
<style lang='scss' scoped>