核心代码:
// 如果用this.dlgData = this.empData,则是浅拷贝,这两个字段会关联上,导致后续的清空很麻烦 this.dlgData = JSON.parse(JSON.stringify(this.empData))