摘要:
{ "workbench.iconTheme": "material-icon-theme", "vetur.validation.template": true, "vsicons.dontShowNewVersionMessage": true, "editor.minimap.enabled"
阅读全文
posted @ 2019-01-24 11:47
鄢宁
阅读(839)
推荐(0)
编辑
摘要:
$route (to, from) {if (to.name == 'infant-birth-registration') {this.inpatNum = this.$route.params.getVal ? this.$route.params.getVal.inpatNum : ''if
阅读全文
posted @ 2019-01-24 11:44
鄢宁
阅读(292)
推荐(0)
编辑
摘要:
1.时间格式的处理 new Date().format('yyyy-MM-dd hh:mm:ss') 2.保留两位小数的方法 element.recTime = element.recTime.toFixed(2) 3.如何判断一个对象为空的方法 JSON.stringify(this.getEch
阅读全文
posted @ 2019-01-24 11:39
鄢宁
阅读(203)
推荐(0)
编辑
摘要:
render: (h, params) => {params.row.execDate = (params.row.execDate ? params.row.execDate.substr(0, 10) : '')return h('div', {props: {},}, params.row.e
阅读全文
posted @ 2019-01-24 11:38
鄢宁
阅读(159)
推荐(0)
编辑
摘要:
1.一般情况使用都是在app.vue配置为: provide () {return {isTest: this}}, 2.所有子组件都可以引用 拿到app.vue里面的所有数据 inject: ['isTest'],
阅读全文
posted @ 2019-01-24 11:37
鄢宁
阅读(148)
推荐(0)
编辑
摘要:
@keyup.native.enter="cardReading"
阅读全文
posted @ 2019-01-24 11:34
鄢宁
阅读(103)
推荐(0)
编辑