小程序目录调整完成
This commit is contained in:
@@ -5,7 +5,7 @@ const getFileInfo = (app, file) => {
|
||||
let vue = fs.readFileSync(file).toString()
|
||||
if (/appName/.test(vue)) {
|
||||
let appName = vue.replace(/[\s\S]*(appName:.+),[\s\S]*/gm, '$1')
|
||||
app.label = appName.replace(/(appName:|["'])/g, '')
|
||||
app.label = appName.replace(/(appName:|["'])/g, '')?.trim()
|
||||
if (/customNavigation/.test(vue)) {
|
||||
app.style = {navigationStyle: "custom"}
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user