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