fix: use event.params.prodtypeid instead of event in cascading script

This commit is contained in:
Hermes Agent 2026-06-24 12:36:02 +08:00
parent 4ca5207f8f
commit 8a2d8b39aa
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
"event": "changed",
"actiontype": "script",
"target": "productid",
"script": "await this.loadData({prodtypeid: event});"
"script": "await this.loadData({prodtypeid: event.params.prodtypeid});"
}
]
}

View File

@ -21,7 +21,7 @@
"event":"changed",
"actiontype":"script",
"target":"productid",
"script":"await this.loadData({prodtypeid: event});"
"script": "await this.loadData({prodtypeid: event.params.prodtypeid});"
}
]
},