转自:https://baijiahao.baidu.com/s?id=1618794879569468435&wfr=spider&for=pc ...mapState的用法见https://www.imooc.com/article/22673?block_id=tuijian_wz