merge wsw into master
fix: nodata Created-by: yfzmpj Commit-by: 汪少伟 Merged-by: yfzmpj Description: fix: nodata See merge request: hk_openRepo/OpenRepo_Portal!55
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="bg-white w-full flex flex-col items-center py-[20px]">
|
||||
<div class="bg-white w-full flex flex-col items-center py-[30px]">
|
||||
<slot name="img">
|
||||
<img
|
||||
v-if="!hideImg && imgSrc"
|
||||
@@ -8,23 +8,23 @@
|
||||
:src="imgSrc"
|
||||
alt="NoData"
|
||||
/>
|
||||
<img
|
||||
<!-- <img
|
||||
v-if="!hideImg && !small"
|
||||
class="block mb-[20px]"
|
||||
:width="imgWidth"
|
||||
src="/src/assets/imgs/jyh/nodata.svg"
|
||||
alt="NoData"
|
||||
/>
|
||||
/> -->
|
||||
<img
|
||||
v-if="!hideImg && small"
|
||||
class="block mb-[20px]"
|
||||
v-if="!hideImg"
|
||||
class="block mb-[5px] w-[120px]"
|
||||
:width="imgWidth"
|
||||
src="/src/assets/imgs/jyh/nodata_small.svg"
|
||||
alt="NoData"
|
||||
/>
|
||||
</slot>
|
||||
<slot>
|
||||
<div>没有查询到数据</div>
|
||||
<div class="text-gray-500">没有查询到数据</div>
|
||||
</slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user