We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.json中
"uni-app": { "scripts": { "mp-doctor": { "title": "医生", "env": { "UNI_PLATFORM": "mp-weixin" }, "define": { "MP-DOCTOR": true } }, "mp-patient": { "title": "患者", "env": { "UNI_PLATFORM": "mp-weixin" }, "define": { "MP-PATIENT": true } },
在js中区分这两个环境, 想添加OR的条件, 但是下面的用法不好使, 应该如何使用? // #ifdef MP-DOCTOR || MP-PATIENT // #endif
The text was updated successfully, but these errors were encountered:
你好,可以详细的描述一下你的使用场景吗?两个条件都是mp-weixin
Sorry, something went wrong.
No branches or pull requests
package.json中
在js中区分这两个环境, 想添加OR的条件, 但是下面的用法不好使, 应该如何使用?
// #ifdef MP-DOCTOR || MP-PATIENT
// #endif
The text was updated successfully, but these errors were encountered: