From 9c118247e5cf4caf1086badde28614421a6bd2b2 Mon Sep 17 00:00:00 2001 From: han0 Date: Tue, 1 Jun 2021 16:01:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(fe=5Fsucks):=20=E4=BF=AE=E6=94=B9=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nc_http/tools/fe_sucks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nc_http/tools/fe_sucks.py b/nc_http/tools/fe_sucks.py index f4fee3f..d4ad606 100644 --- a/nc_http/tools/fe_sucks.py +++ b/nc_http/tools/fe_sucks.py @@ -191,8 +191,8 @@ class FESucks: """ return list_to_tree(rows, id_key, parent_id_key, i) - @classmethod - def set_placeholder(cls, data, key, placeholder_name_list, placeholder=None): + @staticmethod + def set_placeholder(data, key, placeholder_name_list, placeholder=None): """ 数据补位 :param data: