上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
摘要: 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) 编辑
摘要: 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) 编辑
摘要: getReceiveListAPI (param) { return new Promise(resolve => { let params = { // idCard: this.idCard, // typeFlag: this.typeFlag ...param } ... 阅读全文
posted @ 2019-08-30 11:03 彭成刚 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 对象数组化 Object.values(this.totalValueObj).forEach(value => { 阅读全文
posted @ 2019-08-30 10:01 彭成刚 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 禅道 阅读全文
posted @ 2019-08-30 09:00 彭成刚 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://www.yuque.com/ant-design/course/ig6mzb 阅读全文
posted @ 2019-08-29 19:50 彭成刚 阅读(451) 评论(0) 推荐(0) 编辑
摘要: $ cnpm install -g create-react-app $ create-react-app my-app (eslint报错 换下面的) npx create-react-app my-app --use-npm $ cd my-app/ $ npm start 阅读全文
posted @ 2019-08-27 14:14 彭成刚 阅读(157) 评论(0) 推荐(0) 编辑
摘要: return DiscountMap[discountType] && DiscountMap[discountType](price) 阅读全文
posted @ 2019-08-26 14:08 彭成刚 阅读(210) 评论(0) 推荐(0) 编辑
摘要: computed 里面 不能写箭头函数 都要写 function () {} 否则页面会都不显示 阅读全文
posted @ 2019-08-22 19:43 彭成刚 阅读(566) 评论(0) 推荐(0) 编辑
摘要: webStorm -> Version Control _> Repository -> Filter By User 查看svn日志 阅读全文
posted @ 2019-08-22 12:44 彭成刚 阅读(457) 评论(0) 推荐(0) 编辑
摘要: created:异步初始化数据都应该放到 created里面 阅读全文
posted @ 2019-08-22 09:27 彭成刚 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 钱丢丢- B站 https://space.bilibili.com/12820125?from=search&seid=18407415679930662331 阅读全文
posted @ 2019-08-21 13:19 彭成刚 阅读(114) 评论(0) 推荐(0) 编辑
摘要: keep-alive 必须 页面有name 要不缓存不住数据 阅读全文
posted @ 2019-08-21 08:46 彭成刚 阅读(571) 评论(0) 推荐(0) 编辑
摘要: consoleInfo (...args) { // console.info('this', this) const name = this.$options.name let outName = name if (name === 'basicInformation') outName = '111况' let ... 阅读全文
posted @ 2019-08-20 14:31 彭成刚 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 判断 tableZen 是否有 横向滚动条 阅读全文
posted @ 2019-08-20 11:05 彭成刚 阅读(316) 评论(0) 推荐(0) 编辑
摘要: forEach 循环数组 # for in 循环对象 key # for of 循环对象 value 阅读全文
posted @ 2019-08-16 11:58 彭成刚 阅读(232) 评论(0) 推荐(0) 编辑
摘要: readType (val) { this.innerReadType = '-' this.$nextTick(() => { this.innerReadType = val }) }, 阅读全文
posted @ 2019-08-15 15:01 彭成刚 阅读(182) 评论(0) 推荐(0) 编辑
摘要: noSuchSituationSetFalse () { this.noSuchSituationOne = false this.$refs.noSuchSituationRef.updateModel() this.noSuchSituationHandleAPI('0') }, noSuchSituationSetTrue () { ... 阅读全文
posted @ 2019-08-15 11:30 彭成刚 阅读(1043) 评论(1) 推荐(0) 编辑
摘要: JavaScript unshift() 方法 阅读全文
posted @ 2019-08-14 09:40 彭成刚 阅读(340) 评论(0) 推荐(0) 编辑
摘要: fillEditorFakeTable.less 阅读全文
posted @ 2019-08-13 09:26 彭成刚 阅读(665) 评论(0) 推荐(0) 编辑
摘要: idCard: [{ validator: (rule, value, callback) => { if (this.idCardVif === 'idCard') { this.validateIdCard(rule, value, callback) } else { this.validRequire... 阅读全文
posted @ 2019-08-09 17:08 彭成刚 阅读(595) 评论(0) 推荐(0) 编辑
摘要: pending 英['pendɪŋ],美['pɛndɪŋ] a. 未决定的, 待决的, 行将发生的, 向外伸出的prep. 在等待...之际, 直到...时为止, 在...期间, 在...过程中 pend 英[pend],美 vi. 悬而未决, 待定 词 源 树 pend-,pens- : = ha 阅读全文
posted @ 2019-08-09 15:27 彭成刚 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 高中英语词汇词根 第一章 语音规则 第一节 元音字母替换 P002 waterwet foodfeed shortshirt carecore lowlaw P003 thisthus togethergather moneymine visitvisa somesum rainruin mapmo 阅读全文
posted @ 2019-08-07 13:32 彭成刚 阅读(5253) 评论(0) 推荐(0) 编辑
摘要: chrome DevTools 里面 css样式里面 勾上 :hover 会将鼠标移上的效果一直保持,技巧:要在鼠标上的 div上 勾 :hover 阅读全文
posted @ 2019-08-02 17:00 彭成刚 阅读(609) 评论(0) 推荐(0) 编辑
摘要: iview Checkbox 多选框 v-model 赋值方法 this.innerValueArr = [this.previousValue] 阅读全文
posted @ 2019-07-31 15:20 彭成刚 阅读(559) 评论(0) 推荐(0) 编辑
摘要: webStorm ctrl+L 跳转到指定行line eclipes快捷键 阅读全文
posted @ 2019-07-30 14:17 彭成刚 阅读(643) 评论(0) 推荐(0) 编辑
摘要: threejs.org 好东西啊 阅读全文
posted @ 2019-07-16 08:39 彭成刚 阅读(378) 评论(0) 推荐(0) 编辑
摘要: $props:当前组件接收到的 props 对象。Vue 实例代理了对其 props 对象属性的访问。 $attrs:包含了父作用域中不作为 prop 被识别 (且获取) 的特性绑定 (class 和 style 除外)。 $listeners:包含了父作用域中的 (不含 .native 修饰器的) 阅读全文
posted @ 2019-07-10 14:35 彭成刚 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 表格树 tableTree 高度 默认maxHeight,在isFold下不起作用,后期改值 vue-table-with-tree-gridmounted () { this.$refs.table.$refs['body-wrapper'].style['height'] = '300px'} 阅读全文
posted @ 2019-07-10 09:44 彭成刚 阅读(1378) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页