We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389b304 commit 57f4dedCopy full SHA for 57f4ded
frontend/src/views/dashboard/components/component-list.ts
@@ -27,7 +27,7 @@ const COMPONENT_LIST = [
27
collisionActive: false,
28
moveInActive: false,
29
moveOutActive: false,
30
- activeTabName: 'tab',
+ activeTabName: null,
31
propValue: [
32
{
33
name: 'tab',
frontend/src/views/dashboard/components/sq-tab/index.vue
@@ -161,9 +161,8 @@ const titleStyle = (itemName: string) => {
161
162
onMounted(() => {
163
currentInstance = getCurrentInstance()
164
- if (configItem.value.propValue.length > 0) {
+ if (configItem.value.propValue.length > 0 && !configItem.value.activeTabName) {
165
configItem.value.activeTabName = configItem.value.propValue[0].name
166
- console.log('test1')
167
}
168
})
169
0 commit comments