From 787cd0d1523125e0c15421ef46af7c94a43e3827 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 9 Jun 2023 09:49:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8B=E6=9D=A5=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E7=9A=84=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/serve.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/serve.js b/bin/serve.js index c1c88f6c..f4931b5b 100644 --- a/bin/serve.js +++ b/bin/serve.js @@ -8,8 +8,10 @@ const getFileInfo = (app, file) => { app.label = appName.replace(/(appName:|["'])/g, '').trim() if (/customNavigation/.test(vue)) { app.style = {navigationStyle: "custom"} - } else - app.style = {navigationBarTitleText: app.label} + } else app.style = {navigationBarTitleText: app.label} + if (/enablePullDownRefresh/.test(vue)) { + app.style.enablePullDownRefresh = true + } } if (/^App/.test(app.name) && app.label) { let {name, label} = app,