更新大屏
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>
|
@ -18,6 +18,7 @@ import MarkdownEdit from "./MarkdownEdit/index.vue";
|
||||
import FileUpload from "./FileUpload/index.vue";
|
||||
import RichOnly from "./RichOnly/index.vue";
|
||||
import Date from "./Date/index.vue";
|
||||
import Empty from "./Empty/index.vue";
|
||||
export {
|
||||
AddressSelect,
|
||||
FrameWork,
|
||||
@ -38,5 +39,6 @@ export {
|
||||
MarkdownEdit,
|
||||
FileUpload,
|
||||
RichOnly,
|
||||
Date
|
||||
Date,
|
||||
Empty
|
||||
};
|
||||
|
Reference in New Issue
Block a user