king
2022-01-17 92224e3d5e03f223bf2fb4b0eb88b74e790d8da9
src/pc/components/login/normal-login/options.jsx
@@ -133,17 +133,54 @@
    },
    // {
    //   type: 'radio',
    //   field: 'shortcut',
    //   label: '快捷方式',
    //   initval: wrap.shortcut || 'remember',
    //   tooltip: '账号密码登录时的快捷方式。',
    //   field: 'protocol',
    //   label: '协议',
    //   initval: wrap.protocol || 'false',
    //   required: false,
    //   options: [
    //     {value: 'none', label: '无'},
    //     {value: 'remember', label: '记住密码'},
    //     {value: 'autologon', label: '自动登录'},
    //     {value: 'false', label: '无'},
    //     {value: 'true', label: '有'},
    //   ],
    //   controlFields: [
    //     {field: 'tip', values: ['true']},
    //     {field: 'groups', values: ['true']},
    //   ]
    // },
    // {
    //   type: 'text',
    //   field: 'tip',
    //   label: '提示文字',
    //   initval: wrap.tip || '我已阅读并同意',
    //   required: true
    // },
    // {
    //   type: 'table',
    //   field: 'groups',
    //   label: '协议组',
    //   initval: wrap.groups || [],
    //   required: true,
    //   span: 24,
    //   columns: [
    //     {
    //       title: '文本',
    //       dataIndex: 'label',
    //       inputType: 'input',
    //       editable: true,
    //       unique: true,
    //       required: true,
    //       width: '35%'
    //     },
    //     {
    //       title: '链接',
    //       dataIndex: 'link',
    //       inputType: 'input',
    //       editable: true,
    //       unique: true,
    //       required: true,
    //       width: '40%'
    //     },
    //   ]
    // }
  ]
  return wrapForm