From 85584791402c699083fd71121aba8ce38f0a26a6 Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Fri, 17 May 2024 11:12:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(PageContent):=20:sparkles:=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0switch=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PageContent/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/PageContent/index.vue b/src/components/PageContent/index.vue index 742ea3d1..29a01c6e 100644 --- a/src/components/PageContent/index.vue +++ b/src/components/PageContent/index.vue @@ -155,6 +155,7 @@ :active-text="col.activeText ?? ''" :inactive-text="col.inactiveText ?? ''" :validate-event="false" + :disabled="!hasAuth(`${contentConfig.pageName}:modify`)" @change=" pageData.length > 0 && handleSwitchChange(col.prop, scope.row[col.prop], scope.row) @@ -267,6 +268,7 @@