Comments (2)
通过条件编译实现
// #ifdef MP-WEIXIN
uni.login({
provider: 'weixin',
success: function (loginRes) {
console.log(loginRes.authResult);
}
});
// #endif
from uni-app.
条件编译
from uni-app.
Related Issues (20)
- 建议增加sub-modules文件目录,给所有分包共享使用 HOT 1
- vue3 自定义组件 click
- uni.showLoading HOT 2
- uniapp npm更新到3.0.0-4010420240430001页面控制台报错 HOT 1
- darkmode在ios中覆盖颜色 HOT 1
- uniapp vue2 app端不能使用<component :is="tplComponent"/>动态引入组件吗? HOT 2
- vue3下载nvue页面使用plus.webview.create创建网页后,网页中uni.postMessage会触发报错 HOT 1
- 内置input组件有bug HOT 1
- HBuilderX 更新到4.14.2024042905-alpha之后,uni.navigateTo 报错 HOT 1
- SocketTask.onError 无法返回errMsg信息,导致错误无法判断
- npx @dcloudio/uvm@latest会更新成alpha版本,easycome模式有问题 HOT 6
- 请教一下vite.config.ts改成vite.config.mts相关问题 HOT 2
- 【屏幕白屏】从4.08.2024040127版本升级到最新版4.15.2024050802或者4.14.2024043013屏幕白屏 HOT 2
- 项目运行出问题
- IOS 蓝牙出现notifyBLECharacteristicValueChange()后在进行蓝牙操作出现断连
- css 变量未生效
- css 变量未生效 HOT 2
- main.ts中的createApp可以是异步函数吗
- scroll-view: TypeError: Cannot read properties of null (reading 'scrollHeight' HOT 4
- H5下 input 组件 v-model 和 @input 事件无效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uni-app.