mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
新增结点数组下标
This commit is contained in:
@@ -117,7 +117,8 @@ func (em *ForeachIntArray) Exec() (int, error) {
|
||||
}
|
||||
|
||||
for i := range array {
|
||||
em.ExecContext.OutputPorts[2].SetInt(array[i].IntVal)
|
||||
em.ExecContext.OutputPorts[2].SetInt(Port_Int(i))
|
||||
em.ExecContext.OutputPorts[3].SetInt(array[i].IntVal)
|
||||
err := em.DoNext(0)
|
||||
if err != nil {
|
||||
return -1, err
|
||||
|
||||
Reference in New Issue
Block a user