#前端 Vue中data和props的區別有句話有助於理解兩者關係: props就相當與你的參數,data就相當與局部變量,組件其實就是一個函數。props和data內的參數不能同名,否則會衝突
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.