feat: 图表组件图片换成懒加载

This commit is contained in:
MTrun
2022-03-01 16:39:04 +08:00
parent 013edc4f11
commit a63efa5d26
9 changed files with 34 additions and 18 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
object-fit="contain"
height="300"
preview-disabled
:src="requireFallbackImg()"
:src="requireErrorImg()"
/>
<n-h3>暂时还没有东西呢</n-h3>
</n-space>
@@ -13,7 +13,7 @@
</template>
<script setup lang="ts">
import { requireFallbackImg } from '@/utils'
import { requireErrorImg } from '@/utils'
</script>
<style lang="scss" scoped>