mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
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:
parent
71aac20c36
commit
57aa0aba18
4 changed files with 17 additions and 7 deletions
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue