webapp: Fixed lint errors
This commit is contained in:
parent
55b778228e
commit
547ff48047
@ -115,7 +115,7 @@ import BasePage from '@/components/BasePage.vue';
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
import CardElement from '@/components/CardElement.vue';
|
||||
import type { ConfigFileList } from '@/types/Config';
|
||||
import { authHeader, handleResponse, isLoggedIn } from '@/utils/authentication';
|
||||
import { authHeader, handleResponse } from '@/utils/authentication';
|
||||
import * as bootstrap from 'bootstrap';
|
||||
import {
|
||||
BIconArrowLeft,
|
||||
@ -207,7 +207,7 @@ export default defineComponent({
|
||||
a.remove();
|
||||
});
|
||||
},
|
||||
uploadConfig(event: Event | null) {
|
||||
uploadConfig() {
|
||||
this.uploading = true;
|
||||
const formData = new FormData();
|
||||
const target = this.$refs.file as HTMLInputElement; // event.target as HTMLInputElement;
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<div class="col-sm-10">
|
||||
<select class="form-select" id="inputPinProfile"
|
||||
v-model="deviceConfigList.curPin.name">
|
||||
<option v-for="device in pinMappingList" :value="device.name">
|
||||
<option v-for="device in pinMappingList" :value="device.name" :key="device.name">
|
||||
{{ device.name }}
|
||||
</option>
|
||||
</select>
|
||||
@ -54,7 +54,6 @@
|
||||
<script lang="ts">
|
||||
import BasePage from '@/components/BasePage.vue';
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
import InputElement from '@/components/InputElement.vue';
|
||||
import PinInfo from '@/components/PinInfo.vue';
|
||||
import type { DeviceConfig } from "@/types/DeviceConfig";
|
||||
import type { PinMapping, Device } from "@/types/PinMapping";
|
||||
@ -65,7 +64,6 @@ export default defineComponent({
|
||||
components: {
|
||||
BasePage,
|
||||
BootstrapAlert,
|
||||
InputElement,
|
||||
PinInfo,
|
||||
},
|
||||
data() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user