From 84d9c625e132ff60eb45875cdaa1cdba5cc6e498 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 27 Jan 2022 15:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AiEmpty.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 + } } }