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,