# Easy[V] 组件 GUI 配置界面

## tip: 组件配置项，旧版本 “ \_xxx ” 开头，新版本 " xxx "

### 旧版本：

![旧版本config](http://oss.wanfengblog.com/1652176053873.png)

类似于name/value/displayName/type 都属于主属性，不会改变其数据结构位置，如上图示例 `selectableDisabled`、`defaultEntry`等其他属性会被处理到config对象中,
组件接收的数据如下所示

```
 {
                  name: 'upload5',
                  displayName: '文件夹',
                  config:{
                    selectableDisabled:true,
                    defaultEntry:'/main.json',
                    accept:".easytwin",
                  },
                  value: {
                    entry: 'components/static-image/borderMapNew/hebei/130000.json',
                    options: [
                      xxx
                    ]
                  },
                  type: 'folder'
                }

```

---

### 新版本

![新版本config](http://oss.wanfengblog.com/1652176072722.png)

类似于name/value/displayName/type 都属于主属性，不会改变其数据结构位置，如上图示例 `selectableDisabled`、`defaultEntry`等其他属性 **需要预先写到** config对象中,
组件接收的数据如下所示

```javascript
  {
              name: 'upload7',
              displayName: '文件夹_new',
              config:{
                selectableDisabled:true,
                defaultEntry:'/main.json',
                accept:".easytwin"
              },
              value: {
                entry: 'components/static-image/borderMapNew/hebei/130000.json',
                options: [
                 xxx
                ]
              },
              type: 'folder'
            },

```
