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