📅  最后修改于: 2022-03-11 14:53:02.948000             🧑  作者: Mango
$(function () {
var includes = $('[data-include]')
$.each(includes, function () {
var file = 'views/' + $(this).data('include') + '.html'
$(this).load(file)
})
})