commit
This commit is contained in:
@@ -6,18 +6,19 @@
|
||||
* @LastEditors: 刘引
|
||||
* @LastEditTime: 2022-03-04 15:53:16
|
||||
-->
|
||||
<p>home works!</p>
|
||||
|
||||
<!-- <app-news></app-news> -->
|
||||
<!-- <app-head></app-head> -->
|
||||
<!-- <app-news></app-news> -->
|
||||
<!-- <app-list></app-list> -->
|
||||
<!-- <app-body></app-body> -->
|
||||
<p>home works!</p>
|
||||
<div class="root">
|
||||
<div class="container">
|
||||
<div class="w">
|
||||
<h2>双向数据绑定用法(只适用于表单) MVVM</h2>
|
||||
<input type="text" [(ngModel)]="textContent" />
|
||||
<span>{{ textContent }}</span>
|
||||
<span>{{ textContent | json }}</span>
|
||||
</div>
|
||||
<div class="changeKey">
|
||||
<button (click)="changeKeyword()">改值</button>
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
// * {
|
||||
// margin: 0;
|
||||
// padding: 0;
|
||||
// }
|
||||
@import "../node_modules/normalize-scss/sass/normalize";
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user