                 highLightCell.setSelected(false, animated: false)
             }
         }
-        let node = self.right.getDataItem(indexPath) as! rightNodeModel
+        let node = self.tableData.getDataItem(indexPath) as! rightNodeModel
         Msg.send("ChangeTab",[node.nodeTab])
         Msg.send("closeDrawer")
     }

        fatalError("init(coder:) has not been implemented")
    }
}
fileprivate class RightTableWithData : TableBase{
    var right : TableData!
    var currentSelectedTabIndex = 0;
    var firstAutoHighLightCell:UITableViewCell?
    fileprivate override func rowCount(_ section: Int) -> Int {
        return right.rowCount(section)
    }
    fileprivate override func rowHeight(_ indexPath: IndexPath) -> CGFloat {
        return right.rowHeight(indexPath)
    }
    fileprivate override func cellAt(_ indexPath: IndexPath) -> UITableViewCell {
        let ctype = right.cellTypeAt(indexPath)
        let cell = dequeneCell(ctype, indexPath) as! CellBase
        cell.load(right.getDataItem(indexPath))
        return cell ;
    }
    
    fileprivate override func didSelectRowAt(_ indexPath: IndexPath) {
        if let highLightCell = self.firstAutoHighLightCell{
            self.firstAutoHighLightCell = nil

        // 调整RightView宽度
        let cell = RightNodeTableViewCell()
        let cellFont = UIFont(name: cell.nodeNameLabel.font.familyName, size: cell.nodeNameLabel.font.pointSize)
        for node in (tableView.tableData as! RightTableData).rightNodes {
            let size = node.nodeName!.boundingRect(with: CGSize(width: CGFloat(MAXFLOAT), height: CGFloat(MAXFLOAT)),
                                                   options: NSStringDrawingOptions.usesLineFragmentOrigin,
                                                   attributes: ["NSFontAttributeName":cellFont!],
