This commit is contained in:
Ruin
2022-03-04 11:33:15 +08:00
parent 19345cc653
commit 09be1dab5a
33 changed files with 341 additions and 45 deletions

View File

@@ -1,15 +1,29 @@
/*
* @Description: {{ByRuin}}
* @Version: 2.0
* @Author: Ruin 🍭
* @Date: 2022-03-03 17:07:14
* @LastEditors: 刘引
* @LastEditTime: 2022-03-04 10:23:02
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-head',
templateUrl: './head.component.html',
styleUrls: ['./head.component.scss']
styleUrls: ['./head.component.scss'],
})
export class HeadComponent implements OnInit {
public title = '我是头部组件';
public userName: string = '张三';
private age: number = 12;
protected school: string = 'xx中学';
constructor() { }
ngOnInit(): void {
}
public userInfo: object = {
userName: '李四',
age: 20,
};
constructor() {}
ngOnInit(): void {}
}