同步到上架版
This commit is contained in:
		| @@ -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) | ||||
|       } | ||||
|     }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user