vue学习
遛马
这个作者很懒,什么都没留下…
展开
-
搭建vue-element-admin项目框架
路径:https://panjiachen.github.io/vue-element-admin-site/zh/1.首先下载基础版代码2.检查电脑是否安装了node参考路径:https://jingyan.baidu.com/article/f3e34a12fdc7fff5eb6535d6.html如果没有安装,则先在本地安装node下载路径:https://nodejs.org/en/安装教程:https://www.runoob.com/nodejs/nodejs-install-set原创 2022-02-11 12:18:17 · 540 阅读 · 1 评论 -
vue学习-vue回调中有参数,页面需要新加参数
1.回调页面方法 this.$emit("edit", type);回调中只有一个参数type2.但是在父页面需要往该回调函数中增加新参数index写法需如下:v-on:edit-panel='edit(index,$event)'即需要在新增加的参数后面加上$event3.在父页面实现该回调函数时,写法如下:edit: function(index,type) {}即,在父页面新添加的参数,要写...原创 2018-06-29 14:44:44 · 3054 阅读 · 0 评论 -
vue学习-vue自定义通用函数
资料路径:https://segmentfault.com/a/1190000011602147转载 2018-06-29 14:48:12 · 1907 阅读 · 0 评论