Commit a420e504 authored by agping's avatar agping

代码优化

parent 451e7685
......@@ -86,6 +86,7 @@ class Basic extends Controller
'index/checkReferrer',
'index/getActivityCoupon',
'index/ceshi',
'index/baiduText',
);
/**
......
......@@ -38,7 +38,6 @@
//新增 置空内容
window.addEventListener('message', function (e) {
if(e.data*1 == 2){
console.log(555)
ue.ready(function() {
ue.setContent('');
});
......
......@@ -223,7 +223,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
iFrame.onload = function(){
//iframe加载完立即发送一条消息
iFrame.contentWindow.postMessage(data.data.content,'*');
console.log(data.data.content);
// console.log(data.data.content);
}
var _data = data['data'];
......@@ -249,7 +249,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
dataType: "json",
success: function(data) {
if(data.code == 200) {
console.log(555)
// console.log(555)
$(".detail-title").html(data.data.title);
$(".detail-time").html(data.data.create_time);
$(".detail-content").html(data.data.content);
......
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