| | |
| | | |
| | | if (this.record.type === 'prev') { |
| | | shows = ['typeName', 'label', 'actionType'] |
| | | if (this.record.actionType === 'close') { |
| | | shows.push('refreshTab', 'reload') |
| | | } |
| | | } else if (this.record.type === 'next') { |
| | | shows = ['typeName', 'label', 'actionType'] |
| | | } else if (this.record.type === 'close' || this.record.type === 'reset') { |
| | | if (this.record.actionType === 'close') { |
| | | shows.push('refreshTab', 'reload') |
| | | } |
| | | } else if (this.record.type === 'close') { |
| | | shows = ['typeName', 'label', 'refreshTab', 'reload'] |
| | | } else if (this.record.type === 'reset') { |
| | | shows = ['typeName', 'label'] |
| | | } else { |
| | | shows = ['typeName', 'label', 'intertype', 'Ot', 'execSuccess', 'syncComponent', 'anchors', 'linkmenu', 'output', 'reload', 'preButton', 'refreshTab'] // 选项列表 |