#ifdef #ifndef #endif :编译条件 把代码包裹在该条件下 只会在 条件对应平台下 编译该代码
#ifdef : if defined 仅在某个平台编译
#ifndef : if not defined 除该条件内代码其他平台都可编译
#endif : end if 结束条件编译
%PLATFORM% 需要编译的平台,上面的MP就是各个小程序的意思
APP-PLUS 5+App HTML5+ 规范
APP-PLUS-
#ifdef #ifndef #endif :编译条件 把代码包裹在该条件下 只会在 条件对应平台下 编译该代码
#ifdef : if defined 仅在某个平台编译
#ifndef : if not defined 除该条件内代码其他平台都可编译
#endif : end if 结束条件编译
%PLATFORM% 需要编译的平台,上面的MP就是各个小程序的意思
APP-PLUS 5+App HTML5+ 规范
APP-PLUS-