vue的Data为啥要写成函数?

https://blog.csdn.net/qq_36711388/article/details/90748784

https://blog.csdn.net/xyphf/article/details/88863059

原文地址:https://www.cnblogs.com/sherryweb/p/15464788.html