修复资源位内容弹窗跳转action为空的问题
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -872,7 +872,10 @@ $(document).on("click", "#submit", function () { | @@ -872,7 +872,10 @@ $(document).on("click", "#submit", function () { | ||
872 | data.push(item1); | 872 | data.push(item1); |
873 | }); | 873 | }); |
874 | } | 874 | } |
875 | - item.contentData.data=data; | 875 | + if(data.length!=0){ |
876 | + item.contentData.data=data; | ||
877 | + } | ||
878 | + | ||
876 | item.contentData = common.util.__ArrayToObj(item.contentData); | 879 | item.contentData = common.util.__ArrayToObj(item.contentData); |
877 | return item; | 880 | return item; |
878 | }); | 881 | }); |
-
Please register or login to post a comment