king
2021-08-31 7da77ccc209a9c3a96f2f50a2ce1375893a5f8c3
2021-08-31
1个文件已修改
8 ■■■■ 已修改文件
src/tabviews/zshare/settingcomponent/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/settingcomponent/index.jsx
@@ -85,6 +85,7 @@
            cell.$port = cell.verify ? cell.verify.linkUrl : ''
            if (cell.verify && cell.verify.printerTypeList) {
              cell.verify.printerTypeList = cell.verify.printerTypeList.map(_cell => {
                _cell.uuid = _cell.uuid || _cell.key
                _cell.parentId = cell.uuid
                _cell.$port = cell.$port
@@ -108,6 +109,7 @@
                cell.$port = cell.verify ? cell.verify.linkUrl : ''
                if (cell.verify && cell.verify.printerTypeList) {
                  cell.verify.printerTypeList = cell.verify.printerTypeList.map(_cell => {
                    _cell.uuid = _cell.uuid || _cell.key
                    _cell.parentId = cell.uuid
                    _cell.$port = cell.$port
@@ -128,6 +130,7 @@
                cell.$port = cell.verify ? cell.verify.linkUrl : ''
                if (cell.verify && cell.verify.printerTypeList) {
                  cell.verify.printerTypeList = cell.verify.printerTypeList.map(_cell => {
                    _cell.uuid = _cell.uuid || _cell.key
                    _cell.parentId = cell.uuid
                    _cell.$port = cell.$port
@@ -151,6 +154,7 @@
                cell.$port = cell.verify ? cell.verify.linkUrl : ''
                if (cell.verify && cell.verify.printerTypeList) {
                  cell.verify.printerTypeList = cell.verify.printerTypeList.map(_cell => {
                    _cell.uuid = _cell.uuid || _cell.key
                    _cell.parentId = cell.uuid
                    _cell.$port = cell.$port
@@ -197,6 +201,7 @@
        printbtns.push(item)
        if (item.verify && item.verify.printerTypeList && item.verify.printerTypeList.length > 0) {
          item.verify.printerTypeList = item.verify.printerTypeList.map(cell => {
            cell.uuid = cell.uuid || cell.key
            cell.parentId = item.uuid
            cell.$port = item.$port
            return cell
@@ -267,6 +272,7 @@
              item.$port = item.verify ? item.verify.linkUrl : ''
              if (item.verify && item.verify.printerTypeList) {
                item.verify.printerTypeList = item.verify.printerTypeList.map(cell => {
                  cell.uuid = cell.uuid || cell.key
                  cell.parentId = item.uuid
                  cell.$port = item.$port
                  cell.printer = _item && _item.printerList ? (_item.printerList[cell.Value] || '') : ''
@@ -503,7 +509,7 @@
  render() {
    const { components, visible } = this.state
    console.log(components)
    return (
      <div className="page-setting-wrap">
        {options.sysType === 'local' ? <Button