|
@@ -35,18 +35,8 @@ const tabs = [
|
|
|
{
|
|
|
title: "组合",
|
|
|
icon: IconCombination,
|
|
|
- content: [
|
|
|
- {
|
|
|
- title: "平台",
|
|
|
- component: CustomComps,
|
|
|
- props: { compType: "senior" },
|
|
|
- },
|
|
|
- {
|
|
|
- title: "我的",
|
|
|
- component: CustomComps,
|
|
|
- props: { compType: "user" },
|
|
|
- },
|
|
|
- ],
|
|
|
+ component: CustomComps,
|
|
|
+ props: { compType: "senior" },
|
|
|
},
|
|
|
{
|
|
|
title: "组件",
|
|
@@ -94,6 +84,11 @@ const tabs = [
|
|
|
component: Sources,
|
|
|
props: { sourceType: "Video", sourceFrom: "user" },
|
|
|
},
|
|
|
+ {
|
|
|
+ title: "组合",
|
|
|
+ component: CustomComps,
|
|
|
+ props: { compType: "user" },
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
@@ -112,7 +107,7 @@ export default defineUI({
|
|
|
setup() {
|
|
|
// @ts-ignore
|
|
|
const state = reactive({
|
|
|
- tabIndex: 0,
|
|
|
+ tabIndex: 8,
|
|
|
compIndexs: [0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
|
currentTab: computed(() => {
|
|
|
return tabs[state.tabIndex];
|