摘要: <el-date-picker v-model="seach.before" type="date" placeholder="开始时间" value-format="yyyy-MM-dd" class="wida" :picker-options="pickerBeginDateBefore" @ 阅读全文
posted @ 2018-10-23 19:37 M柒七 阅读(3123) 评论(0) 推荐(0) 编辑
摘要: vue使用富文本编辑器上传图片: <template lang="html"> <div class="editor"> <div ref="toolbar" class="toolbar"> </div> <div ref="editor" class="text"> </div> </div> 阅读全文
posted @ 2018-10-23 19:31 M柒七 阅读(4540) 评论(0) 推荐(0) 编辑
摘要: element ui的upload组件上传图片成功和移除事件: 用getItem取出: <div class="addImg"> <el-upload ref="upload" class="wid" :action="upimg" list-type="picture" :on-preview=" 阅读全文
posted @ 2018-10-23 19:29 M柒七 阅读(8617) 评论(0) 推荐(0) 编辑
摘要: vue项目打包问题:vue中默认的config/index.js的配置的详细理解: 1). 分离部署时,打包需要将config/index.js中 //默认在config/index.js var path = require('path') module.exports = { //打包 buil 阅读全文
posted @ 2018-10-23 19:26 M柒七 阅读(589) 评论(0) 推荐(0) 编辑
摘要: //在script中先引用 import api from './../../api/index' //vue文件方法中 写 del(index, row) { let self=this; // 传的值放para中。 let para = { Rulesid: row.id } //单击后弹出框, 阅读全文
posted @ 2018-10-23 19:24 M柒七 阅读(800) 评论(0) 推荐(0) 编辑
摘要: 【转载】http://www.w3cplus.com/html5/html5-form-validation-with-the-pattern-attribute.html 阅读全文
posted @ 2018-10-21 15:54 M柒七 阅读(569) 评论(0) 推荐(0) 编辑
摘要: <el-table-column prop="option" label="操作" align="center" > <template slot-scope="scope"> <el-button size="mini" plain @click="del(scope.$index,scope.r 阅读全文
posted @ 2018-10-12 07:49 M柒七 阅读(2537) 评论(0) 推荐(0) 编辑
摘要: 在main.js或者index.js引用 import {Loading} from 'element-ui' 按照 文档所示修改 <el-table-column prop="option" label="操作" align="center" > <template slot-scope="sco 阅读全文
posted @ 2018-10-12 07:48 M柒七 阅读(3033) 评论(0) 推荐(0) 编辑
摘要: 【转载】本文来自 chenxinchongcn 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/chenxinchongcn/article/details/54945998?utm_source=copy HTTP 错误 400 400 请求出错 由于语法格式有误, 阅读全文
posted @ 2018-10-09 16:16 M柒七 阅读(1436) 评论(0) 推荐(0) 编辑
摘要: 【转载】https://www.rails365.net/articles/react-zui-hao-de-ui-zu-jian-ku-ji-jin 这里有一篇讨论,说了哪个才是 React 最好的 ui 组件库。 这里有更多:https://github.com/brillout/awesome 阅读全文
posted @ 2018-09-19 20:58 M柒七 阅读(725) 评论(0) 推荐(0) 编辑