摘要: { title: "领取 / 总数", render: (h, params) => { let resultStr = ""; if (params.row.usedQuantity == null) { resultStr = "0"; } else { resultStr = params.row.usedQuantity; } return h("div", [ h( "span", { 阅读全文
posted @ 2019-10-18 14:07 写手在作画 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: 参数类型 decimal、mediumint decimal:( mysql储存价格的一种就是number类型 ) 可以是整数 也可以是小数,后台不做限制,可以是无限小数,当位数超过一定限制时,数据就默认被处理了 mediumint:只能是整数 小案例:上方其实就是number类型 后端要求为 de 阅读全文
posted @ 2019-10-18 11:57 写手在作画 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 设置v-model 阅读全文
posted @ 2019-10-18 10:04 写手在作画 阅读(10794) 评论(0) 推荐(1) 编辑