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