摘要:
1.Lodash 的随机数生成函数 //原生js function getsRandomNumber(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } getsRandomNumber(20, 100); 阅读全文
摘要:
1.redirect:'/Home'(重定向); 2.安装npm install --save axios 3.配置axios的 import Axios from 'axios'Vue.prototype.$axios=Axios 4.跨域处理: proxyTable:{ "/baidu_musi 阅读全文
摘要:
1.结构配置: <template> <div class="index"> <ul> <li> <router-link to="/Home"> <img src="../assets/logo-ea5.png" alt=""></router-link> </li> <li><router-li 阅读全文