Commit d0de8dad authored by 张伯涛's avatar 张伯涛

深拷贝,浅拷贝

parent f70c18d6
...@@ -898,7 +898,7 @@ export default { ...@@ -898,7 +898,7 @@ export default {
this.reset() this.reset()
this.isUnitAdmin = flag this.isUnitAdmin = flag
this.open = true this.open = true
this.form = row this.form = JSON.parse(JSON.stringify(row))
const depIds = row.deptIdPrepares.split(',') const depIds = row.deptIdPrepares.split(',')
this.form.deptId = depIds.map(item => Number(item)) this.form.deptId = depIds.map(item => Number(item))
this.title = '修改代言人' this.title = '修改代言人'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment