this.model=M 
   switch(model)
    ... 貌似是switch不能识别model的值,我改成switch(1)时是可以正常显示的。
能力有限,帮不了楼主。