feat: enhance DraggableWindow component with additional emit events for window control; update hotnews component to handle pending state; modify home link for improved navigation

This commit is contained in:
yuanhau 2025-05-12 21:05:14 +08:00
parent 71aac20c36
commit 57aa0aba18
4 changed files with 17 additions and 7 deletions

View file

@ -125,14 +125,13 @@ const toggleLangMenu = () => {
const activeWindows = ref<associAppWindowInterface>([]);
// ?opemapp= component
const openApp = ref(false);
const openApp = ref();
const openAppId = ref();
const openAppNameQuery = ref();
onMounted(() => {
onMounted(async () => {
openApp.value = route.query.openapp;
openAppId.value = route.query.id;
openAppNameQuery.value = route.query.name;
if (openApp.value) {
openWindow(openApp.value);
}
@ -271,6 +270,7 @@ useSeoMeta({
:key="window.id"
:title="window.title"
@close="closeWindow(window.id)"
@min="unMinWindow(window.id)"
:width="window.width"
:height="window.height"
@clicked="topWindow(window.id)"