凌云阁
凌云阁
  • 发布:2019-07-02 19:47
  • 更新:2019-07-03 16:36
  • 阅读:1224

button phoneNumber支付宝无法回调?

分类:uni-app
<template>  
    <view class="content">  
        <view>  
            <button open-type="getAuthorize" @GetAuthorize="onGetAuthorize" @Error="onAuthError" scope="phoneNumber"></button>  

        </view>  
    </view>  
</template>  

<script>  
export default {  
    data() {  
        return {  
            title: 'Hello'  
        };  
    },  
    onLoad() {},  
    methods: {  
        test() {  
            console.log('success');  
        },  
        onGetAuthorize(){  
            console.log('onGetAuthorize');  
        },  
        onAuthError(){  
            console.log('onAuthError');  
        }  
    }  
};  
</script>
2019-07-02 19:47 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复