LSG122800

博客园 首页 新随笔 联系 订阅 管理

09 2020 档案

摘要:下载 npm i nprogress 在main.js中引入: import App from './App' import VueRouter from 'vue-router' import router from './router' //你的路由文件 //引入nprogress import 阅读全文
posted @ 2020-09-15 17:26 12345zxc 阅读(437) 评论(0) 推荐(0)

摘要:原因: 使用element-ui 导致 使用路由模式之后 index 没写 导致 解决办法: 删掉 或者天添加路由 阅读全文
posted @ 2020-09-15 16:32 12345zxc 阅读(1832) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/weixin_46034375/article/details/108476718 阅读全文
posted @ 2020-09-10 16:16 12345zxc 阅读(374) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/weixin_46034375/article/details/108514832 阅读全文
posted @ 2020-09-10 16:12 12345zxc 阅读(144) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/weixin_46034375/article/details/108476433 官网解释: 下面用两个例子来深入理解ref和refs: 一、ref作用于组件 <div id="app"> <navbar ref="navbar"></navbar> < 阅读全文
posted @ 2020-09-08 20:35 12345zxc 阅读(329) 评论(0) 推荐(0)

摘要:在我的CSDN上有详细讲解: 🔗 https://blog.csdn.net/weixin_46034375/article/details/108476137 阅读全文
posted @ 2020-09-08 20:15 12345zxc 阅读(232) 评论(0) 推荐(0)

摘要:PageModel(页面模型)对小程序而言是很重要的一个概念,从app.json中也可以看到,小程序就是由一个个页面组成的。 如上图,这是一个常见结构的小程序:首页是一个双Tab框架PageA和PageB,子页面pageB, PageC。 让我们假设这样一个场景:首页PageA有一个飘数,当我们从P 阅读全文
posted @ 2020-09-07 19:07 12345zxc 阅读(605) 评论(0) 推荐(0)