组织表单提交造成的页面刷新 | 解决页面恢复的概率性崩溃
This commit is contained in:
parent
f1b3f6fbad
commit
76a6e07756
@ -1,11 +1,12 @@
|
||||
<template>
|
||||
<div style="height: 100%;">
|
||||
<div style="height: 100%;" v-if="panelLoaded">
|
||||
<Welcome v-show="!haveActiveTab"></Welcome>
|
||||
|
||||
<!-- 如果存在激活标签页,则根据标签页进行渲染 -->
|
||||
<div v-show="haveActiveTab" style="height: 100%;">
|
||||
<!-- vscode/trae 中,下面存在初始化问题 -->
|
||||
<component
|
||||
v-show="tab === tabs.activeTab"
|
||||
v-show="tab === tabs.content[tabs.activeIndex]"
|
||||
v-for="(tab, index) of tabs.content"
|
||||
:key="index"
|
||||
:is="tab.component"
|
||||
@ -20,6 +21,7 @@ import { defineComponent, computed } from 'vue';
|
||||
|
||||
import Welcome from './welcome.vue';
|
||||
import { tabs } from '@/components/main-panel/panel';
|
||||
import { panelLoaded } from '@/hook/panel';
|
||||
|
||||
defineComponent({ name: 'debug' });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user