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