Merge pull request #19 from ahinrichs/pr-fix-hwinfo-prop-types

[webapp] HardwareInfo.vue fix prop types
This commit is contained in:
tbnobody 2022-07-07 18:57:49 +02:00 committed by GitHub
commit c89e729dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>