vue3.2如何监听props传递过来的数据。 2022-04-27 本文已影响0人 南漂一枚 vue3.2接收props有js方式的接收,也有ts方式的接收。用ts方式的接收的时候,尽量定义类型。 通过withDefaluts()来接收。