摘要:
1.基本类型 布尔值 let isDone: boolean = false; 字符串 let name: string = "bob"; 数字 let decLiteral: number = 6; 数组-可以在元素类型后面接上 [],表示由此类型元素组成的一个数组 let list: numbe 阅读全文
posted @ 2021-09-02 14:32
瑞瑞大人
阅读(48)
评论(0)
推荐(0)
摘要:
export function timeFormat(time: Date, type: string) { // yyyy MM dd hh:mm:ss const year = `${time.getFullYear()}`; const month = (time.getMonth() + 1 阅读全文
posted @ 2021-09-02 14:30
瑞瑞大人
阅读(25)
评论(0)
推荐(0)

浙公网安备 33010602011771号