uni-app

条件编译快捷命令

选中要条件编译的代码块,ctrl + alt + /即可生成正确注释

1
2
3
// #ifdef APP
uni.hideNavigationBarLoading();
// #endif