Sign in

简柏林 / thingskit-front · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • thingskit-front
  • ..
  • InstrumentComponent
  • PictureWidget.vue
  • wip: implement drag && drop save layou info
    e644b8df
    ww authored
    2022-09-06 10:24:03 +0800  
    Browse Files »
PictureWidget.vue 376 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<script lang="ts" setup>
  import { Image } from 'ant-design-vue';

  const props = defineProps<{
    value: {
      src: string;
    };
  }>();
</script>

<template>
  <section>
    <Image
      :src="
        props?.value?.src ||
        'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'
      "
    />
  </section>
</template>

<style></style>