var headerView= require('../Component/KHScrollView'); 引用类的名字改成大写 var HeaderView = require('../Component/KHScrollView');