mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Add chat interface and implement basic message sending
This commit is contained in:
parent
c45a5ea285
commit
f7e9d4a28b
4 changed files with 53 additions and 19 deletions
|
@ -17,8 +17,12 @@ interface currentNavBarInterface {
|
|||
interface associAppWindowInterface {
|
||||
name: string;
|
||||
id: string;
|
||||
absoluteId: string;
|
||||
title: string;
|
||||
component: any;
|
||||
width: string;
|
||||
height: string;
|
||||
black: boolean;
|
||||
}
|
||||
|
||||
// Import plugins
|
||||
|
@ -373,7 +377,12 @@ const openNewWindowViaApp = (windowId: string) => {
|
|||
}, 1000);
|
||||
};
|
||||
|
||||
const maxWindow = (windowId: string) => {};
|
||||
const maxWindow = (windowUUId: string) => {
|
||||
const windowIndex = activeWindows.value.findIndex(
|
||||
(window) => window.absoluteId === windowUUId,
|
||||
);
|
||||
console.log(windowIndex);
|
||||
};
|
||||
|
||||
// Title
|
||||
useSeoMeta({
|
||||
|
@ -531,7 +540,7 @@ watchEffect((cleanupFn) => {
|
|||
:width="window.width"
|
||||
:height="window.height"
|
||||
@click="obtainTopWindowPosition(window.id)"
|
||||
@maximize="maxWindow(window.id)"
|
||||
@maximize="maxWindow(window.absoluteId)"
|
||||
:black="window.black"
|
||||
>
|
||||
<Suspense>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue