但是在組件中,data必須是一個函數,而不能直接把一個對象賦值給它。 ... var MyComponent = function() {} MyComponent.prototype.data = { a: 1, ...
確定! 回上一頁