增加下来开关的检测

This commit is contained in:
aixianling
2023-06-09 09:49:16 +08:00
parent 8c6d83294e
commit 787cd0d152

View File

@@ -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,