From f75e3688586915576764e2c54f735d38a0041a73 Mon Sep 17 00:00:00 2001 From: Xiaohe <496631085@qq.com> Date: Fri, 31 Mar 2023 14:42:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=A4=E4=BA=86=E8=B6=85=E7=BA=A7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=91=98,=E5=85=B6=E4=BB=96=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E4=BD=BF=E7=94=A8=E9=BB=98=E8=AE=A4=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=BC=80=E5=85=B3=E4=BC=9A=E6=8A=A5=E6=B2=A1=E6=9C=89=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在生成的表格里面开关字段,除了超级管理员会报该权限问题(权限都已分配),虽然在对应控制器里面可以修改该参数值,但是这个默认的switch字段应该有 --- application/common/controller/Backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/Backend.php b/application/common/controller/Backend.php index b70eede87..b77a72f5a 100644 --- a/application/common/controller/Backend.php +++ b/application/common/controller/Backend.php @@ -90,7 +90,7 @@ class Backend extends Controller /** * Multi方法可批量修改的字段 */ - protected $multiFields = 'status'; + protected $multiFields = 'status,switch'; /** * Selectpage可显示的字段