mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-03-31 17:00:24 +08:00
Update TerminalCore.vue
This commit is contained in:
parent
d78deac2a4
commit
3af2c1437e
@ -78,7 +78,6 @@ events.on("error", (error: Error) => {
|
||||
});
|
||||
|
||||
events.once("detail", async () => {
|
||||
term = await initTerminal();
|
||||
try {
|
||||
const { value } = await getInstanceOutputLog().execute({
|
||||
params: { uuid: instanceId || "", daemonId: daemonId || "" }
|
||||
@ -110,6 +109,7 @@ onMounted(async () => {
|
||||
daemonId
|
||||
});
|
||||
}
|
||||
term = await initTerminal();
|
||||
} catch (error: any) {
|
||||
console.error(error);
|
||||
throw error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user