This commit is contained in:
Ruin
2022-03-04 17:17:48 +08:00
parent 4dcddfd92e
commit c6df0ef581
2 changed files with 3 additions and 6 deletions

View File

@@ -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>

View File

@@ -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;