增加下来开关的检测
This commit is contained in:
@@ -8,8 +8,10 @@ const getFileInfo = (app, file) => {
|
|||||||
app.label = appName.replace(/(appName:|["'])/g, '').trim()
|
app.label = appName.replace(/(appName:|["'])/g, '').trim()
|
||||||
if (/customNavigation/.test(vue)) {
|
if (/customNavigation/.test(vue)) {
|
||||||
app.style = {navigationStyle: "custom"}
|
app.style = {navigationStyle: "custom"}
|
||||||
} else
|
} else app.style = {navigationBarTitleText: app.label}
|
||||||
app.style = {navigationBarTitleText: app.label}
|
if (/enablePullDownRefresh/.test(vue)) {
|
||||||
|
app.style.enablePullDownRefresh = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (/^App/.test(app.name) && app.label) {
|
if (/^App/.test(app.name) && app.label) {
|
||||||
let {name, label} = app,
|
let {name, label} = app,
|
||||||
|
|||||||
Reference in New Issue
Block a user