[更新]同步framework 代码

This commit is contained in:
Anyon 2019-04-30 18:01:01 +08:00
parent 04e20af250
commit 023d30d0b2

View File

@ -154,13 +154,15 @@ $(function () {
$($this.data('input')).val(url).trigger('change'); $($this.data('input')).val(url).trigger('change');
}); });
}); });
console.log('init')
}; };
// 在内容区显示视图 // 在内容区显示视图
this.show = function (html) { this.show = function (html) {
$(this.selecter).html(html); $(this.selecter).html(html);
$([0, 500, 1000]).map(function (index, time) { this.reInit($(this.selecter));
setTimeout(that.reInit, time) setTimeout(function () {
}); that.reInit($(that.selecter));
}, 500);
}; };
// 以hash打开网页 // 以hash打开网页
this.href = function (url, obj) { this.href = function (url, obj) {