Still trying

This commit is contained in:
Donald Zou
2025-01-02 11:38:21 +08:00
parent cca5fd859c
commit 31e7f02b8d
3 changed files with 45 additions and 12 deletions
@@ -20,7 +20,7 @@ const route = useRoute()
const configurationInfo = ref({})
const configurationPeers = ref([])
const configurationToggling = ref(false)
const configurationModalSelectedPeer = ref("")
const configurationModalSelectedPeer = ref({})
const configurationModals = ref({
peerSetting: {
modalOpen: false,
@@ -345,7 +345,7 @@ const searchPeers = computed(() => {
@refresh="fetchPeerList()"
@jobs="configurationModals.peerScheduleJobs.modalOpen = true; configurationModals.peerScheduleJobs.selectedPeer = this.configurationPeers.find(x => x.id === peer.id)"
@setting="configurationModals.peerSetting.modalOpen = true; configurationModalSelectedPeer = peer"
@qrcode="(file) => {configurationModals.peerQRCode.peerConfigData = file; configurationModals.peerQRCode.modalOpen = true;}"
@qrcode="(file) => {configurationModalSelectedPeer = peer; configurationModals.peerQRCode.modalOpen = true;}"
@configurationFile="(file) => {configurationModals.peerConfigurationFile.peerConfigData = file; configurationModals.peerConfigurationFile.modalOpen = true;}"
></Peer>
</div>