input 用法首先在子組件中將需要傳遞給父組件的變量用@input()修飾需要在子組件ts ... import {Component, Input, OnInit} from '@angular/core'; ...
確定! 回上一頁