Loading blank page before completion

1. Set Default

Data () {
     return { 
        userName: "User" 
    }; 
} 
Methods: { 
    // Get user information 
    getUserInfo () {
         // modify value for userName 
    } 
}

2. Pictures lazy loading

3. The screen skeleton placeholder

Guess you like

Origin www.cnblogs.com/223zzm/p/11666363.html