mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 图表组件图片换成懒加载
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
requireUrl('project/moke-20211219181327.png')
|
||||
"
|
||||
:alt="cardData.title"
|
||||
:fallback-src="requireFallbackImg()"
|
||||
:fallback-src="requireErrorImg()"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref, PropType } from 'vue'
|
||||
import { renderIcon, renderLang, requireFallbackImg } from '@/utils'
|
||||
import { renderIcon, renderLang, requireErrorImg } from '@/utils'
|
||||
import { icon } from '@/plugins'
|
||||
import { MacOsControlBtn } from '@/components/MacOsControlBtn'
|
||||
import { Chartype } from '../../index.d'
|
||||
|
||||
Reference in New Issue
Block a user