[update] 修改bug81196
This commit is contained in:
@@ -143,7 +143,7 @@ export default {
|
|||||||
this.form.validateFields((err, values) => {
|
this.form.validateFields((err, values) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
const param = Object.assign({}, values)
|
const param = Object.assign({}, this.model, values)
|
||||||
console.log(param)
|
console.log(param)
|
||||||
this.$emit('ok', param, this.index)
|
this.$emit('ok', param, this.index)
|
||||||
this.close()
|
this.close()
|
||||||
|
|||||||
+1
-1
@@ -138,7 +138,7 @@ export default {
|
|||||||
this.form.validateFields((err, values) => {
|
this.form.validateFields((err, values) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
const param = Object.assign({}, values)
|
const param = Object.assign({}, this.model, values)
|
||||||
console.log(param)
|
console.log(param)
|
||||||
this.$emit('ok', param, this.index)
|
this.$emit('ok', param, this.index)
|
||||||
this.close()
|
this.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user