title: getIntlContent()

in src/routes/System/PluginHandle/index.js [292:326]


          title: getIntlContent("SHENYU.PLUGIN.PLUGIN.NAME"),
          dataIndex: "pluginId",
          key: "pluginId",
          ellipsis: true,
          sorter: (a,b)=> a.pluginId - b.pluginId,
          width: 140,
          render: text => {
            const {pluginHandle} = this.props;
            const {pluginHandleList} = pluginHandle;
            const pluginDropDownList = this.state.pluginDict;
            if (pluginHandleList) {
              pluginHandleList.forEach(item => {
                if (item.extObj) {
                  let obj = JSON.parse(item.extObj)
                  if (obj.required) {
                    item.required = obj.required
                  }
                  if (obj.defaultValue) {
                    item.defaultValue = obj.defaultValue
                  }
                  if (obj.placeholder) {
                    item.placeholder = obj.placeholder
                  }
                }
              })
            }
            if (pluginDropDownList) {
              let arr = pluginDropDownList.filter(item => item.id === text)
              if (arr && arr.length > 0) {
                return <div style={{color: "#260033","fontWeight":"bold"}}>{arr[0].name}</div>
              } else {
                return <div>text</div>
              }
            }
          }