技术栈
uniapp多环境配置修改
袭烽
3 个月前
uni-app
·
uniapp多环境配置修改
uni-app多环境配置动态修改
这篇文章主要介绍uniapp在Hbuilderx 中,通过工程化,区分不同环境、动态修改小程序appid以及自定义条件编译,解决代码发布和运行时手动切换问题。