更新大屏
This commit is contained in:
25
src/components/MyComponents/Empty/index.vue
Normal file
25
src/components/MyComponents/Empty/index.vue
Normal file
@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<el-empty :description="props.description" :image="require('@/assets/images/icon_043.png')" v-if="props.show" :image-size="props.imgSize" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
const props = defineProps({
|
||||
imgSize:{
|
||||
type:Number,
|
||||
default:150
|
||||
},
|
||||
show:{
|
||||
type:Boolean,
|
||||
default:false
|
||||
},
|
||||
description:{
|
||||
type:String,
|
||||
default:'暂无数据'
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user