怎样动态修改app.json的配置
{ "pages":[
"pages/index/index",
"pages/logs/logs"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle":"black"
}
}
例如,我想动态修改其中的navigationBarTitleText,该怎么修改?可以用一个变量替换吗?