From e2ec08df6226be1257bd61281d2556bf263e2a6d Mon Sep 17 00:00:00 2001 From: wojiaoyishang <422880152@qq.com> Date: Sat, 11 Feb 2023 20:48:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/common/utils/power.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/common/utils/power.py b/applications/common/utils/power.py index 99d2757..d6b5b0b 100644 --- a/applications/common/utils/power.py +++ b/applications/common/utils/power.py @@ -60,7 +60,7 @@ def add(parentId, powerName, powerType, icon, sort: int, enable: bool, powerCode 参考代码:: - dev.power.add("0", "测试", "1", "layui-icon-time", 0, True, "testfor", "https://baidu.com", "_iframe") + power.add("0", "测试", "1", "layui-icon-time", 0, True, "testfor", "https://baidu.com", "_iframe") :param parentId: 父ID,0为顶级菜单ID :param powerName: 菜单名称