mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 15:29:26 +00:00
Update to UIX for alpha version
This commit is contained in:
parent
2098aface9
commit
3cc0a2017d
20 changed files with 88 additions and 65 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<script setup>
|
||||
import MainMenu from '@/components/base/MainMenu.vue'
|
||||
import { onMounted, onUpdated, ref } from 'vue'
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { RouterView, useRoute } from 'vue-router'
|
||||
import { useDeviceStore } from './stores/device'
|
||||
import { isLocal } from './services/ApiService'
|
||||
|
|
@ -37,14 +37,10 @@ onMounted(async () => {
|
|||
const hsReq = await device.remoteHandshake()
|
||||
handshake.value = hsReq
|
||||
|
||||
device.$subscribe((mutation, state) => {
|
||||
device.$subscribe(() => {
|
||||
if (device.key()) handshake.value = true
|
||||
})
|
||||
})
|
||||
|
||||
onUpdated(() => {
|
||||
console.log(device.key())
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue