http://www.tuicool.com/articles/7b2MVre
原路徑:
http://www.tuicool.com/articles/7b2MVre
原路徑:
打開webstrom的設置,Editor–>Live Template 添加自己定義的模板代碼,如: <div id="app"> {{message}} </div> <script s
ts中,定義了一個對象,去給這個對象賦值之前,別忘記先初始化!!! 初始化代碼如下: private gun: Gun = { oilgunNum: '0', oilType: '', };