Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute处理器无法处理关联表的字段 #330

Open
wwsheng009 opened this issue Mar 16, 2023 · 0 comments
Open

Compute处理器无法处理关联表的字段 #330

wwsheng009 opened this issue Mar 16, 2023 · 0 comments

Comments

@wwsheng009
Copy link
Contributor

data.Set("value", res[key])

data.Set("value", res[key])

这里的处理逻辑没有考虑关联表的字段。

假设有以下的图片显示字段要使用Download Compute处理器。当前的处理逻辑没有办法处理关联表material中的icon字段。

"物资图标": {
        "bind": "material.icon",
        "view": {
          "type": "Image",
          "compute": {
            "process": "Download",
            "args": ["$C(value)", "$C(props)", "$C(type)", "$C(id)", "$C(path)"]
          },
          "props": {}
        }
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant