09 2019 档案

摘要:Iconfont-阿里巴巴矢量图标库 登录账户是 github自动登录 阅读全文
posted @ 2019-09-29 18:08 彭成刚 阅读(3718) 评论(0) 推荐(0) 编辑
摘要:vue 阻止冒泡 @click.stop= 阅读全文
posted @ 2019-09-29 10:42 彭成刚 阅读(3276) 评论(0) 推荐(0) 编辑
摘要:react build相对目录 "homepage": ".", package.json 阅读全文
posted @ 2019-09-27 16:59 彭成刚 阅读(2986) 评论(0) 推荐(0) 编辑
摘要:header.php comm.php select.php update.php insert.php delete.php 字符集: utf8 -- UTF-8 Unicode 排序规则: utf8_general_ci 阅读全文
posted @ 2019-09-27 12:03 彭成刚 阅读(241) 评论(0) 推荐(0) 编辑
摘要:mysqli_query($conn, "set names utf8"); //**设置字符集*** 不设置插入数据库就是乱码 阅读全文
posted @ 2019-09-26 16:26 彭成刚 阅读(2906) 评论(0) 推荐(0) 编辑
摘要:https://github.com/iview/iview-admin/tree/template 阅读全文
posted @ 2019-09-25 17:20 彭成刚 阅读(1039) 评论(0) 推荐(0) 编辑
摘要:interceptors (instance, url) { // 请求拦截 instance.interceptors.request.use(config => { // 添加全局的loading... if (!Object.keys(this.queue).length) { // Spin.show() // 不建议开启,因为界面不友好 } this.queue[url] = true 阅读全文
posted @ 2019-09-25 14:57 彭成刚 阅读(576) 评论(0) 推荐(0) 编辑
摘要:mysql 如果没有密码 就不能远程连接 阅读全文
posted @ 2019-09-25 14:55 彭成刚 阅读(477) 评论(0) 推荐(0) 编辑
摘要:后端框架 KOA NESTjs Think.js 阅读全文
posted @ 2019-09-24 16:25 彭成刚 阅读(694) 评论(0) 推荐(0) 编辑
摘要:如果是 *.vue:html 就有style自动提示,但是eslint就会报格式格式化的不对 空格个数不对 阅读全文
posted @ 2019-09-23 17:26 彭成刚 阅读(330) 评论(0) 推荐(0) 编辑
摘要:解决问题: 点击相同的链接,会有一个重复key的报错 放在router 的 index.js 里 阅读全文
posted @ 2019-09-23 15:37 彭成刚 阅读(735) 评论(0) 推荐(0) 编辑
摘要:ret.data[0]._highlight = true iview table表格高亮 阅读全文
posted @ 2019-09-20 17:37 彭成刚 阅读(812) 评论(0) 推荐(0) 编辑
摘要:迷你记事本 https://vladocar.github.io/Minimal-Notes/ 阅读全文
posted @ 2019-09-19 15:52 彭成刚 阅读(165) 评论(0) 推荐(0) 编辑
摘要:tomcat 对 vue的history默认支持 tomcat 开启步骤 1.build文件放入webapps目录 2.进入conf目录修改server.xml端口号改成8088 3.进入bin目录运行startup.bat 4.浏览器 localhost:8088/workName 访问即可 阅读全文
posted @ 2019-09-19 14:20 彭成刚 阅读(194) 评论(0) 推荐(0) 编辑
摘要:vscode灰暗色主题和 左侧加图标 Spacegray VSCode vscode-icons 阅读全文
posted @ 2019-09-19 11:51 彭成刚 阅读(1119) 评论(0) 推荐(1) 编辑
摘要:"eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", { "language": "vue", "autoFix": true } ], 阅读全文
posted @ 2019-09-19 09:04 彭成刚 阅读(2191) 评论(0) 推荐(0) 编辑
摘要:<div class="inputReportIndex"> <div class="inner"> <div class="left"> <Card :bordered="false" style="height: 48%;">1</Card> <div style="height: 4%;"></div> <Card :bordered="false" style 阅读全文
posted @ 2019-09-18 11:35 彭成刚 阅读(490) 评论(0) 推荐(0) 编辑
摘要:<keep-alive> 大量异步数据嵌入在循环体内,会有大量相同异步请求,可以缓存下拉用。 阅读全文
posted @ 2019-09-17 08:53 彭成刚 阅读(268) 评论(0) 推荐(0) 编辑
摘要:const routerList = [] function importAll (r) { r.keys().map(value => { r(value).default.map(item => { routerList.push(item) }) }) } importAll(require.context('.', true, /\.router\.js/)) 阅读全文
posted @ 2019-09-16 15:45 彭成刚 阅读(540) 评论(0) 推荐(0) 编辑
摘要:某些时候 v-if 会导致 v-modal 内部数据获取不到 也watch不到,这个时候用v-show即可,另外提一下数组要整体赋值才有双向绑定 阅读全文
posted @ 2019-09-12 17:28 彭成刚 阅读(513) 评论(0) 推荐(0) 编辑
摘要:表单配置项写法,表单写成JSON数组套对象,一行是一个数组单位,一列是一个对象单位,然后再写一个公共组件读取这个配置,循环加载slot,外层载入slot的自定义部分,比如input select等,这种写法就是把组件嵌套改为配置方式 阅读全文
posted @ 2019-09-12 16:06 彭成刚 阅读(160) 评论(0) 推荐(0) 编辑
摘要:@on-row-click="$emit('on-row-click', arguments[0], arguments[1])" 阅读全文
posted @ 2019-09-12 16:03 彭成刚 阅读(450) 评论(0) 推荐(0) 编辑
摘要:css hover 动画 transition:background-color 0.2s,color 0.2s; 外层套内层,正常是 里外层 鼠标上来 外层有hover,如果就想到里层hover触发外层hover,要用外层position 定义绝对定位,内层的hover跳出外层的div,这样视觉上 阅读全文
posted @ 2019-09-10 10:44 彭成刚 阅读(685) 评论(0) 推荐(0) 编辑
摘要:rimraf node_modules 删除目录 超快 阅读全文
posted @ 2019-09-06 10:27 彭成刚 阅读(214) 评论(0) 推荐(0) 编辑
摘要:https://space.bilibili.com/20291891/channel/detail?cid=29424 阅读全文
posted @ 2019-09-05 19:59 彭成刚 阅读(193) 评论(0) 推荐(0) 编辑
摘要:前端架构 技术栈nodewebpackvueiviewaxios 架构框架(核心)iview-adminhttps://github.com/iview/iview-admin 架构框架2reactAnt Designhttps://github.com/ant-design/ant-design- 阅读全文
posted @ 2019-09-02 10:44 彭成刚 阅读(376) 评论(0) 推荐(0) 编辑

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