详见https://blog.csdn.net/weixin_35958891/article/details/113044787 vue2.6 以上的版本 可以使用observable替代reacticve 其功能是一样的