去除dayjs中的toArray和toObject实例
Former-commit-id: 37d3f4fb90e315e37f54a78d1f77eb769cde4e93 [formerly 37d3f4fb90e315e37f54a78d1f77eb769cde4e93 [formerly 37d3f4fb90e315e37f54a78d1f77eb769cde4e93 [formerly 37d3f4fb90e315e37f54a78d1f77eb769cde4e93 [formerly 04bc6b621c2f2cadd757f0706de87a5799fc256b [formerly bffcaa2c62675f8ec8142c5ee8f79c79a4d3bc7e]]]]] Former-commit-id: 7a8604a263e6d85e34e1a895d2dc02144bbe3165 Former-commit-id: d365519b110109e2faf319649f7aba8f3b32c8dd Former-commit-id: 1bec56d1f99e8809a66ec4fee096a407be49fe6f [formerly d50c0e02c8959a4cfe6476b8453460140c9824d2] Former-commit-id: 5f81cbe8d0108e260ac29c09e3ad89000c035e4a Former-commit-id: a6a0dafc9bac473ffbc016a9d056f8fc203dfbab Former-commit-id: 30f85e33ca10ff53b41b9dd9a109d278d47aa7d4 Former-commit-id: 3cc7fa516f1c9d34efc80a95f00b236a30d5c827 Former-commit-id: 87488ae0660f47510bd527648bf55d15f268dc69
This commit is contained in:
@@ -42,11 +42,11 @@
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// Unix 时间戳 (秒)\ndayjs().unix()`"/>{{dayjs().unix()}}</el-card></el-col>
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// 天数 (月)\ndayjs().daysInMonth()`"/>{{dayjs().daysInMonth()}}</el-card></el-col>
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// Date 对象\ndayjs().toDate()`"/>{{dayjs().toDate()}}</el-card></el-col>
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// 数组\ndayjs().toArray()`"/>{{dayjs().toArray()}}</el-card></el-col>
|
||||
<!-- <el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// 数组\ndayjs().toArray()`"/>{{dayjs().toArray()}}</el-card></el-col> -->
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// 序列化 Dayjs 对象时会返回 ISO 8601 格式的字符串\ndayjs().toJSON()`"/>{{dayjs().toJSON()}}</el-card></el-col>
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// ISO 8601 字符串\ndayjs().toISOString()`"/>{{dayjs().toISOString()}}</el-card></el-col>
|
||||
<el-col :span="12"><el-card shadow="never" class="d2-mb"><d2-highlight slot="header" :code="`// 字符串\ndayjs().toString()`"/>{{dayjs().toString()}}</el-card></el-col>
|
||||
<el-col :span="24"><el-card shadow="never"><d2-highlight slot="header" :code="`// 对象\ndayjs().toObject()`"/>{{dayjs().toObject()}}</el-card></el-col>
|
||||
<!-- <el-col :span="24"><el-card shadow="never"><d2-highlight slot="header" :code="`// 对象\ndayjs().toObject()`"/>{{dayjs().toObject()}}</el-card></el-col> -->
|
||||
</el-row>
|
||||
<h1>查询</h1>
|
||||
<el-row :gutter="20" class="d2-mt">
|
||||
|
||||
Reference in New Issue
Block a user