diff --git a/Application/Admin/View/AuthManager/dataempower.html b/Application/Admin/View/AuthManager/dataempower.html index 18fb9bf20..07f13e6d8 100644 --- a/Application/Admin/View/AuthManager/dataempower.html +++ b/Application/Admin/View/AuthManager/dataempower.html @@ -149,9 +149,32 @@ value: data2, id: 'key123', onchange: function(data, index){ + dataTransfer = transfer.getData('key123'); //获取右侧数据 - // layer.alert(JSON.stringify(dataTransfer)); - $('#promote_data').val(JSON.stringify(dataTransfer)); + + if (index == 0) { + $('#promote_data').val(JSON.stringify(dataTransfer)); + return; + } else if (index == 1){ + + for(var i=0;i