同步到上架版

This commit is contained in:
aixianling
2022-01-27 14:10:53 +08:00
parent 3189ea775b
commit be5485c8e3

View File

@@ -90,6 +90,11 @@ const start = () => {
name: file.replace(/.*\\([^\\]+).vue/g, '$1'),
path: file.replace(/^src\\(.*).vue/g, '$1').replace(/\\/g, '/')
}
if (/appName/.test(vue.script.content)) {
let appName = vue.script.content.replace(/[\s\S]*(appName:.+),[\s\S]*/gm, '$1'),
title = appName.replace(/(appName:|["'])/g, '')
app.style = {navigationBarTitleText: title}
}
json.pages.push(app)
}
})