11 2019 档案

摘要:点击后获取元素本身 获取当前元素的所有兄弟元素 在vue里是这样的 vue举例 阅读全文
posted @ 2019-11-29 17:40 huihuihero 阅读(3974) 评论(0) 推荐(0) 编辑
摘要:两个元素换位子; 置顶移动 向上移动一格 向下移动一格 具体例子见 中的“动态添加一组可编辑框” 阅读全文
posted @ 2019-11-26 17:14 huihuihero 阅读(3303) 评论(0) 推荐(0) 编辑
摘要:以下部分内容转自博客(另外配有自己见解):https://www.cnblogs.com/nokelong/p/8116631.html ###使用keepAlive缓存页面,一可以减少服务器请求次数,二则可以在用户返回上一页后记忆到上次浏览位置(ios端微信浏览器不适用,不兼容,需要另行配置:见例 阅读全文
posted @ 2019-11-21 14:28 huihuihero 阅读(8200) 评论(0) 推荐(0) 编辑
摘要:####安装antd-vue并按需加载(详见 https://www.antdv.com/docs/vue/use-with-vue-cli-cn/ ) 注:antd-vue2.0+和antd-vue3.0+都是只支持vue3.0+。只有ant-vue1.0+才支持vue2.0+ 1、yarn ad 阅读全文
posted @ 2019-11-15 13:19 huihuihero 阅读(16823) 评论(0) 推荐(0) 编辑
摘要:vscode vscode访问git:下载devServer,ctrl+shift+p调出命令框,搜索devServer:start 在http://localhost/admin/config/xxx.html (http://可省略)查看 vscode设置中文: 下载Chinese Langua 阅读全文
posted @ 2019-11-06 15:24 huihuihero 阅读(511) 评论(0) 推荐(0) 编辑
摘要:####登录成功后跳转回上一页而非主页 评论页: sendComment(){ axios.get(`${common.commentapi}/comment?aid=${this.aid}`).then(res=>{ if(res.data.code==200){ this.$toast({ me 阅读全文
posted @ 2019-11-05 13:38 huihuihero 阅读(507) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示