From b8e82211402e635d5605fd05c60934a85a5721d5 Mon Sep 17 00:00:00 2001 From: toogee Date: Fri, 10 Apr 2020 15:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/index/article/add.html | 4 ++-- view/index/article/detail.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)); - }); + }) });