提交 101ff0ce 编写于 作者: Q qiang

fix: remove onAuthViewOtherLoginButtonClick

上级 31738401
...@@ -180,14 +180,6 @@ uni.login({ ...@@ -180,14 +180,6 @@ uni.login({
|fail|Function|否|接口调用失败的回调函数| |fail|Function|否|接口调用失败的回调函数|
|complete|Function|否|接口调用结束的回调函数(调用成功、失败都会执行)| |complete|Function|否|接口调用结束的回调函数(调用成功、失败都会执行)|
### uni.onAuthViewOtherLoginButtonClick(CALLBACK)
监听[一键登陆](https://ask.dcloud.net.cn/article/38009)页面“其他登录”按钮点击。
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|2.9.11+|x|x|x|x|x|x|
### uni.closeAuthView() ### uni.closeAuthView()
关闭[一键登陆](https://ask.dcloud.net.cn/article/38009)页面。 关闭[一键登陆](https://ask.dcloud.net.cn/article/38009)页面。
......
...@@ -208,7 +208,6 @@ const third = [ ...@@ -208,7 +208,6 @@ const third = [
'checkSession', 'checkSession',
'getUserInfo', 'getUserInfo',
'preLogin', 'preLogin',
'onAuthViewOtherLoginButtonClick',
'closeAuthView', 'closeAuthView',
'share', 'share',
'shareWithSystem', 'shareWithSystem',
......
...@@ -121,12 +121,6 @@ export function preLogin (params, callbackId) { ...@@ -121,12 +121,6 @@ export function preLogin (params, callbackId) {
getService(params.provider).then(service => service.preLogin(successCallback, errorCallback)).catch(errorCallback) getService(params.provider).then(service => service.preLogin(successCallback, errorCallback)).catch(errorCallback)
} }
export function onAuthViewOtherLoginButtonClick (callbackId) {
getService('univerify').then(service => service.onOtherLoginButtonClick(() => {
invoke(callbackId, {})
}))
}
export function closeAuthView () { export function closeAuthView () {
getService('univerify').then(service => service.closeAuthView()) getService('univerify').then(service => service.closeAuthView())
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册