[webapp] HardwareInfo.vue fix prop types

This commit is contained in:
Axel Hinrichs 2022-07-06 22:03:31 +02:00
parent eac647d2d0
commit 11456ad621
2 changed files with 6 additions and 6 deletions

View File

@ -29,9 +29,9 @@ export default defineComponent({
systemDataList: {
// HardwareInfo
chipmodel: "",
chiprevision: "",
chipcores: "",
cpufreq: "",
chiprevision: 0,
chipcores: 0,
cpufreq: 0,
// FirmwareInfo
hostname: "",
sdkversion: "",

View File

@ -36,9 +36,9 @@ import { defineComponent } from 'vue';
export default defineComponent({
props: {
chipmodel: String,
chiprevision: String,
chipcores: String,
cpufreq: String,
chiprevision: { type: Number, required: true },
chipcores: { type: Number, required: true },
cpufreq: { type: Number, required: true },
},
});
</script>