Commit 985ab358 authored by 黄奎's avatar 黄奎

模板保存修改

parent 3f240980
......@@ -144,7 +144,16 @@ namespace Mall.Module.MarketingCenter
//标题组件
case "link": item.data = JsonHelper.DeserializeObject<linkItem>(item.data.ToString()); break;
//图片广告插件
case "rubik": item.data = JsonHelper.DeserializeObject<rubikItem>(item.data.ToString()); break;
case "rubik":
try
{
item.data = JsonHelper.DeserializeObject<rubikItem>(item.data.ToString());
}
catch
{
item.data = new rubikItem();
}
break;
//视频插件
case "video": item.data = JsonHelper.DeserializeObject<videoItem>(item.data.ToString()); break;
//商品插件
......
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