diff --git a/src/components/AiEmpty.vue b/src/components/AiEmpty.vue index 20979098..a7a32d3a 100644 --- a/src/components/AiEmpty.vue +++ b/src/components/AiEmpty.vue @@ -1,6 +1,6 @@ @@ -9,10 +9,17 @@ export default { name: "AiEmpty", props: { + img: {default: "https://cdn.cunwuyun.cn/dvcp/h5/Empty.png"}, + noPermit: Boolean, description: { default: '暂无相关信息', type: String } + }, + computed: { + emptyImg() { + return this.noPermit ? "https://cdn.cunwuyun.cn/dvcp/h5/no-admin.png" : this.img + } } }