@easyv/react-gui

1.20.7-beta.2 • Public • Published

Easy[V] 组件 GUI 配置界面

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

旧版本:

旧版本config

类似于name/value/displayName/type 都属于主属性,不会改变其数据结构位置,如上图示例 selectableDisableddefaultEntry等其他属性会被处理到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

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

  {
              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'
            },

Readme

Keywords

none

Package Sidebar

Install

npm i @easyv/react-gui

Weekly Downloads

189

Version

1.20.7-beta.2

License

ISC

Unpacked Size

26.8 MB

Total Files

435

Last publish

Collaborators

  • rppp
  • zqzzhouzhou0311
  • adachi-sakura
  • muransolove
  • dong_po
  • youlin
  • easyv_nianyi
  • nianyi
  • easyv-wanfeng
  • xiaoyao0117
  • hanshuai1994
  • mengde123