diff --git a/view/index/article/add.html b/view/index/article/add.html index ef1ac5d..1498263 100644 --- a/view/index/article/add.html +++ b/view/index/article/add.html @@ -226,7 +226,7 @@ layui.use('form', function(){ ,base: '/static/res/mods/' }).extend({ fly: 'index' - }).use('fly'); - }); + }).use(['fly']); + {/block} \ No newline at end of file diff --git a/view/index/article/detail.html b/view/index/article/detail.html index ff24697..cc8ecd1 100644 --- a/view/index/article/detail.html +++ b/view/index/article/detail.html @@ -275,7 +275,7 @@ layui.config({ $('.detail-body').each(function(){ var othis = $(this), html = othis.html(); othis.html(fly.content(html)); - }); + }) });