king
2020-03-17 5c8860f3cd8921e7eb0da7749628e9dc669b3203
src/tabviews/tableshare/verifycard/index.jsx
@@ -67,23 +67,23 @@
      {
        title: '名称',
        dataIndex: 'label',
        width: '20%'
        width: '25%'
      },
      {
        title: '快捷键',
        dataIndex: 'shortcut',
        width: '20%'
      },
      {
        title: '组合键',
        dataIndex: 'shortcutkey',
        width: '20%',
        render: (text, record) => keycode[text] || ''
        width: '25%',
        render: (text, record) => {
          if (!record.shortcut || typeof(record.shortcut) !== 'object') return ''
          let _text = keycode[record.shortcut[1]]
          return record.shortcut[0] + ' + ' + _text
        }
      },
      {
        title: '打印机',
        dataIndex: 'printer',
        width: '20%'
        width: '30%'
      },
      {
        title: '操作',
@@ -100,7 +100,7 @@
  UNSAFE_componentWillMount() {
    const { config } = this.props
    this.setState({
      config: JSON.parse(JSON.stringify(config))
    })
@@ -144,6 +144,7 @@
            _config.action = _config.action.map(cell => {
              if (item.uuid === cell.uuid) {
                cell.printer = cell.printer || data.defaultPrinter
                cell.printers = printers.map(print => {
                  return {