方法一:在component.ts上,ngOnInit()中写这个方法:document.getElementById('getGuid').focus();并且将id绑定到HTML上的输入框上:<input nz-input ...
確定! 回上一頁