header from device name and id
This commit is contained in:
parent
3f2f4369a4
commit
ab061d706d
|
|
@ -1 +1 @@
|
|||
Subproject commit 68d085bb6765584ce21172c925fc88452b0a0354
|
||||
Subproject commit 164e0a2667b67744aff7922c0a8a29b431528d54
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<q-header>
|
||||
<q-toolbar>
|
||||
<q-btn flat dense round icon="menu" aria-label="Menu" @click="toggleLeftDrawer" />
|
||||
<q-toolbar-title> ESP32 WEBGUIAPP </q-toolbar-title>
|
||||
<q-toolbar-title>{{ data.net_bios_name }} {{ data.dev_id }}</q-toolbar-title>
|
||||
</q-toolbar>
|
||||
</q-header>
|
||||
<q-drawer v-model="leftDrawerOpen" show-if-above bordered>
|
||||
|
|
@ -17,10 +17,9 @@
|
|||
</q-layout>
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
<script setup>
|
||||
import { ref, defineAsyncComponent } from "vue";
|
||||
import { ref, reactive } from "vue";
|
||||
import { PostData } from "src/components/webguicomp/network";
|
||||
import EssentialLink from "components/webguicomp/EssentialLink.vue";
|
||||
|
||||
const linksList = [
|
||||
|
|
@ -34,4 +33,8 @@ const linksList = [
|
|||
function toggleLeftDrawer() { leftDrawerOpen.value = !leftDrawerOpen.value; }
|
||||
const leftDrawerOpen = ref(false);
|
||||
|
||||
const init = { dev_id: '', net_bios_name: '' }
|
||||
const data = reactive(init);
|
||||
PostData(data, 2, 0, null);
|
||||
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit fc2b1879e4ae43213c255567077b46fa41092159
|
||||
Subproject commit 30a9a6ef93ee45dead0ca21144fcf6eec8267c5b
|
||||
Loading…
Reference in New Issue
Block a user