From 5e9304efc2b9280862605a77989f8e4cecf78e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=99=93=E4=B8=9C?= <763795151@qq.com> Date: Tue, 7 Feb 2023 22:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=99=90=E6=B5=81=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=EF=BC=8Cfixed=20acl=20=E5=BC=80=E5=90=AF=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E6=8F=90=E7=A4=BA.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/acl/AclList.vue | 2 +- ui/src/views/quota/ClientQuota.vue | 4 +- ui/src/views/quota/ClientQuotaIntroduce.vue | 46 +++++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 ui/src/views/quota/ClientQuotaIntroduce.vue diff --git a/ui/src/views/acl/AclList.vue b/ui/src/views/acl/AclList.vue index c94c614..f0805f7 100644 --- a/ui/src/views/acl/AclList.vue +++ b/ui/src/views/acl/AclList.vue @@ -297,7 +297,7 @@ export default { }); return; } - if (!response.data.total) { + if (!response.data.total && response.data.hint) { this.hint = response.data.hint; return; } diff --git a/ui/src/views/quota/ClientQuota.vue b/ui/src/views/quota/ClientQuota.vue index 0028481..b8f0ab5 100644 --- a/ui/src/views/quota/ClientQuota.vue +++ b/ui/src/views/quota/ClientQuota.vue @@ -3,6 +3,7 @@ + @@ -25,10 +26,11 @@ import ClientIDQuota from "@/views/quota/ClientIDQuota.vue"; import UserQuota from "@/views/quota/UserQuota.vue"; import UserAndClientIDQuota from "@/views/quota/UserAndClientIDQuota.vue"; +import ClientQuotaIntroduce from "@/views/quota/ClientQuotaIntroduce.vue"; export default { name: "ClientQuota", - components: {ClientIDQuota, UserQuota, UserAndClientIDQuota}, + components: {ClientIDQuota, UserQuota, UserAndClientIDQuota, ClientQuotaIntroduce}, data() { return { loading: false, diff --git a/ui/src/views/quota/ClientQuotaIntroduce.vue b/ui/src/views/quota/ClientQuotaIntroduce.vue new file mode 100644 index 0000000..0321b2a --- /dev/null +++ b/ui/src/views/quota/ClientQuotaIntroduce.vue @@ -0,0 +1,46 @@ + + + + +