mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
feat(gui): GUI add support to connect to config server (#1596)
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
NetworkingMethod,
|
||||
removeRow
|
||||
} from '../types/network'
|
||||
import { defineProps, defineEmits, ref, onMounted } from 'vue'
|
||||
import { defineProps, defineEmits, ref, onMounted, onUnmounted } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
const props = defineProps<{
|
||||
@@ -209,11 +209,11 @@ onMounted(() => {
|
||||
});
|
||||
resizeObserver.observe(portForwardContainer.value);
|
||||
|
||||
return () => {
|
||||
onUnmounted(() => {
|
||||
if (resizeObserver && portForwardContainer.value) {
|
||||
resizeObserver.unobserve(portForwardContainer.value);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user