上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 83 下一页
摘要: form 表单不提交时怎么把表单数据抛出到父组件? onChange(e) { this.$nextTick(() => { this.form.validateFields((err, values) => { if (!err) { values = this.valuesTransform(v 阅读全文
posted @ 2020-06-03 17:45 winyh 阅读(568) 评论(0) 推荐(0)
摘要: this.$form.createForm(this, { name: 'form' }) <from :form="form"></form> 获取不到值 this.buyForm.getFieldsValue() 原因:标签忘写 a 前缀 <a-from :form="form"></a-for 阅读全文
posted @ 2020-06-01 10:37 winyh 阅读(626) 评论(0) 推荐(0)
摘要: import { history } from 'umi'; 以下的不正确,更换成了 history 阅读全文
posted @ 2020-05-28 21:57 winyh 阅读(2432) 评论(0) 推荐(0)
摘要: name 值 需要为 数组 file[] (单图时只需要 file) content-type 类型为 : form-data 阅读全文
posted @ 2020-05-27 17:21 winyh 阅读(811) 评论(0) 推荐(0)
摘要: 子组件 actionHandle(type, record) { this.$emit('action', type, record, bool => { if (bool) { alert('success!') this.getTableData() } }) }, 父组件 onAction(t 阅读全文
posted @ 2020-05-26 18:45 winyh 阅读(289) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 83 下一页