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 BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||||
import CardElement from '@/components/CardElement.vue';
|
import CardElement from '@/components/CardElement.vue';
|
||||||
import type { ConfigFileList } from '@/types/Config';
|
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 * as bootstrap from 'bootstrap';
|
||||||
import {
|
import {
|
||||||
BIconArrowLeft,
|
BIconArrowLeft,
|
||||||
@ -207,7 +207,7 @@ export default defineComponent({
|
|||||||
a.remove();
|
a.remove();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
uploadConfig(event: Event | null) {
|
uploadConfig() {
|
||||||
this.uploading = true;
|
this.uploading = true;
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
const target = this.$refs.file as HTMLInputElement; // event.target as HTMLInputElement;
|
const target = this.$refs.file as HTMLInputElement; // event.target as HTMLInputElement;
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<select class="form-select" id="inputPinProfile"
|
<select class="form-select" id="inputPinProfile"
|
||||||
v-model="deviceConfigList.curPin.name">
|
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 }}
|
{{ device.name }}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
@ -54,7 +54,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import BasePage from '@/components/BasePage.vue';
|
import BasePage from '@/components/BasePage.vue';
|
||||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||||
import InputElement from '@/components/InputElement.vue';
|
|
||||||
import PinInfo from '@/components/PinInfo.vue';
|
import PinInfo from '@/components/PinInfo.vue';
|
||||||
import type { DeviceConfig } from "@/types/DeviceConfig";
|
import type { DeviceConfig } from "@/types/DeviceConfig";
|
||||||
import type { PinMapping, Device } from "@/types/PinMapping";
|
import type { PinMapping, Device } from "@/types/PinMapping";
|
||||||
@ -65,7 +64,6 @@ export default defineComponent({
|
|||||||
components: {
|
components: {
|
||||||
BasePage,
|
BasePage,
|
||||||
BootstrapAlert,
|
BootstrapAlert,
|
||||||
InputElement,
|
|
||||||
PinInfo,
|
PinInfo,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user