export default {  
        data() {  
            return {  
                title: 'Hello'  
            }  
        },  
        onLoad() {  
            uni.showLoading({  
                mask:true  
            })  
            db.collection('lty_user')  
            .get()  
            .then(result=>{  
                console.log(result);  
            })  
            .catch(error=>{  
                console.log('SQL失败');  
            })  
            .finally((e)=>{  
                console.log('结束SQL');  
                uni.hideLoading();  
            })  
        },  
        methods: {  
        }  
    }```                                
                                        1***@qq.com                                                                                
                                        
                                - 发布:2023-06-20 10:33
 - 更新:2023-06-20 10:43
 - 阅读:331