dream2023 / f-render

f-render | 基于 ElementUI 的表单设计器
https://dream2023.gitee.io/f-render
MIT License
1.59k stars 317 forks source link

el-input-number联动问题 #44

Closed yangangzhang closed 4 years ago

yangangzhang commented 4 years ago

配置el-input-number联动,作者线上环境直接卡死,开发环境,报错 代码:

{
  "formDesc": {
    "key_1594776474600": {
      "options": [
        {
          "text": "选项1",
          "value": 1
        },
        {
          "text": "选项2",
          "value": 2
        },
        {
          "text": "选项3",
          "value": 3
        }
      ],
      "label": "选择器",
      "type": "select"
    },
    "key_1594776729232": {
      "label": "数字",
      "type": "number",
      "attrs": {
        "min": 2,
        "max": 11
      },
      "default": 0,
        "vif":(data) => data.key_1594776474600 == 1
    }
  }
}

开发环境报错如下: image

dream2023 commented 4 years ago

现在好像没有配置 "vif" 的地方,你是二次开发的吗