Commit f2fcfa4a authored by rico.liu's avatar rico.liu

处理CPU属性

parent b62a0426
...@@ -467,6 +467,8 @@ def check_params_data(path): ...@@ -467,6 +467,8 @@ def check_params_data(path):
#加载标准项 #加载标准项
cat_subtitle_list = db_params[db_params['name'] == category]['subtitle'].tolist() cat_subtitle_list = db_params[db_params['name'] == category]['subtitle'].tolist()
if 'CPU属性' in cat_subtitle_list:
cat_subtitle_list.remove('CPU属性')
#加载数据字典 #加载数据字典
cursor_zi_new.execute(f"select subtitle,stdvalue,primitive,simplevalue from ShuJuZiDian_Cfg where categoryname = '{category}'") cursor_zi_new.execute(f"select subtitle,stdvalue,primitive,simplevalue from ShuJuZiDian_Cfg where categoryname = '{category}'")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment