布局管理优化

feat/task1-c-wallet
Devil 2021-07-20 23:47:31 +08:00
parent e1a086a064
commit 7c29da88f5
2 changed files with 5 additions and 4 deletions

View File

@ -149,6 +149,9 @@ class PluginsAdminService
// 添加数据
if(Db::name('Plugins')->insertGetId($data) > 0)
{
// 附件同步到数据库
ResourcesService::AttachmentDiskFilesToDb('plugins_'.$plugins);
// 插件事件回调
PluginsService::PluginsEventCall($plugins, 'Install', $params);

View File

@ -131,7 +131,6 @@ function StructureDragHtmlCreate(value)
html += '</div>';
}
html += '</div>';
console.log(html)
return html;
}
@ -166,7 +165,6 @@ function RenovationModuleDragHtmlCreate(value)
html += '<div class="am-text-center am-padding-vertical-sm am-text-primary">请配置'+layout_module_type_arr[value]+'</div>';
html += '</div>';
html += '</div>';
console.log(html)
return html;
}
@ -2134,7 +2132,7 @@ $(function()
var fields_dv = {
"goods_order_by_type": 0,
"goods_order_by_rule": 0,
"view_list_show_style": 0,
"view_list_show_style": 'routine',
"view_list_number_sm": 2,
"view_list_number_md": 5,
"view_list_number_lg": 5,
@ -2148,7 +2146,7 @@ $(function()
}
// 展示模式默认值处理、默认常规模式
if(json.view_list_show_style != undefined && (json.view_list_show_style || null) == null)
if((json.view_list_show_style || null) == null)
{
json['view_list_show_style'] = 'routine';
}