mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 06:52:29 -04:00
Merge pull request #1595 from Saibamen/fix_eslint
Fix ESLint warnings and errors
This commit is contained in:
commit
5bf58cc6c4
5 changed files with 39 additions and 24 deletions
|
@ -10,7 +10,10 @@ import { sleep } from "../util.ts";
|
|||
export default {
|
||||
|
||||
props: {
|
||||
value: [ String, Number ],
|
||||
value: {
|
||||
type: [ String, Number ],
|
||||
default: 0,
|
||||
},
|
||||
time: {
|
||||
type: Number,
|
||||
default: 0.3,
|
||||
|
|
|
@ -13,7 +13,10 @@ dayjs.extend(relativeTime);
|
|||
|
||||
export default {
|
||||
props: {
|
||||
value: String,
|
||||
value: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
dateOnly: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
<script>
|
||||
export default {
|
||||
props: {
|
||||
status: Number,
|
||||
status: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
|
@ -5,8 +5,14 @@
|
|||
<script>
|
||||
export default {
|
||||
props: {
|
||||
monitor: Object,
|
||||
type: String,
|
||||
monitor: {
|
||||
type: Object,
|
||||
default: null,
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
pill: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue