
vue
胖图图
这个作者很懒,什么都没留下…
展开
-
npm i时 command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar原创 2021-11-25 17:55:44 · 8336 阅读 · 1 评论 -
解决 Vue 重复点击相同路由,出现 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation 问题
方案一:只需在 router 文件夹下,添加如下代码:// src/router/index.jsVue.use(Router)const router = new Router({ routes})constVueRouterPush=Router.prototype.pushRouter.prototype.push=functionpush(to){returnVueRouterPush.call(this,to).catch(err=>err...转载 2021-06-25 16:15:45 · 147 阅读 · 0 评论 -
在vue中使用elementUI饿了么框架使用el-calendar日历组件,实现自定义显示备忘录标注
https://www.cnblogs.com/bobo1/p/12106366.html饿了么官网给的自定义例子是点击哪个日期在日期后面加个勾而我们想要的是显示备忘录,像这样↓,日历上直接显示这时候我们要把template里的代码改一下 {{ data.day.split(’-’).slice(1).join(’-’) }} {{dealMyDate(data.day)}} 其实当我们刷新当前页面,或者点击日历上的日期选择其他月份,这个el-calendar都会重新渲染一次,转载 2021-02-06 17:27:42 · 4741 阅读 · 1 评论 -
vue-element-admin路由切换到新增或编辑页面后侧边栏依然高亮
分析:原模板中使用:default-active="KaTeX parse error: Expected '}', got 'EOF' at end of input: … return this.route.meta.guidePath ? this.route.meta.jumpPath:this.route.meta.jumpPath : this.route.meta.jumpPath:this.route.path},转载 2021-02-05 16:25:14 · 646 阅读 · 0 评论 -
vue去掉地址栏的#
https://blog.youkuaiyun.com/u013573560/article/details/106255922/要去掉vue中访问地址中的#符号可以在路由器中由哈希变成设置路由模式为history:mode:‘history’,原创 2021-01-22 15:40:44 · 378 阅读 · 0 评论 -
vue路由传参
this.router.push(path:′detailDone′,query:id:id)constid=this.router.push({ path: 'detailDone', query: { id: id }}) const id = this.router.push(path:′detailDone′,query:id:id)constid=this.route.query.id原创 2021-01-21 11:49:57 · 101 阅读 · 0 评论 -
Could not install from “@\api\tvPlay“ as it does not contain a package.json file.
删掉项目文件夹中的package-lock.json文件,先后运行npm install -g及npm install命令即可原创 2021-01-11 10:12:07 · 1603 阅读 · 1 评论 -
vue跨域问题,修改代理后仍出现404
vue跨域问题,修改代理后仍出现404首先确认安装了axios,安装方法:cnpm install axios -S或者不用镜像npm install axiosdev: {// PathsassetsSubDirectory: 'static',assetsPublicPath: '/',proxyTable: { '/api': { target: 'http://...原创 2019-04-26 11:04:56 · 11822 阅读 · 0 评论 -
解决 Vue 渲染echarts图表宽度只显示100px问题
解决 Vue 渲染echarts图表宽度只显示100px问题刚刚接触vue不久,在开发过程中遇到不少坑,走了很多弯路,其中一个就是在echarts图表加载渲染时,图表的宽度只能显示100px问题,这篇文章记录解决方案,对于像我一样的初学者来说,可能会有一些参考意义.出现这个问题的情况目前来说我只在原文:https://blog.youkuaiyun.com/u012891460/article/det...转载 2018-12-17 14:43:03 · 3924 阅读 · 0 评论