mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
v1.9 优化保养检查项修改bug
This commit is contained in:
parent
ab44ac839b
commit
e9fa382b83
@ -88,18 +88,12 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
open(data) {
|
||||
this.resetForm()
|
||||
//this.resetForm()
|
||||
if (data) {
|
||||
this.form = {
|
||||
...this.form,
|
||||
titleId: data.titleId,
|
||||
itemId: data.itemId,
|
||||
titleType: data.titleType,
|
||||
itemTitle: data.itemTitle,
|
||||
seq: data.seq,
|
||||
titleValues: data.titleValues || [],
|
||||
communityId: data.communityId
|
||||
}
|
||||
this.form = { ...data }
|
||||
this.form.titleValues = data.titleValues || []
|
||||
console.log(this.form, data)
|
||||
|
||||
}
|
||||
this.visible = true
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user