mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-07 14:41:09 +08:00
Autofix on save
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
<script>
|
||||
|
||||
import {sleep} from '../util-frontend'
|
||||
import { sleep } from "../util-frontend"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -18,11 +18,7 @@ export default {
|
||||
unit: {
|
||||
String,
|
||||
default: "ms",
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.output = this.value;
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -32,14 +28,10 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
},
|
||||
|
||||
computed: {
|
||||
isNum() {
|
||||
return typeof this.value === 'number'
|
||||
}
|
||||
return typeof this.value === "number"
|
||||
},
|
||||
},
|
||||
|
||||
watch: {
|
||||
@@ -61,6 +53,12 @@ export default {
|
||||
},
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.output = this.value;
|
||||
},
|
||||
|
||||
methods: {},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user