MVVM 分层 M:model (模型/数据) V:view(视图) VM:ViewModel(视图模型,连接Model View) 当model 变化,VM使view随之变化,当view 变化,VM使model随之变化