qinyan преди 1 година
родител
ревизия
71deed650d
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/modules/editor/components/Viewport/Slider/SliderLeft/index.tsx

+ 4 - 4
src/modules/editor/components/Viewport/Slider/SliderLeft/index.tsx

@@ -116,8 +116,8 @@ const tabs = [
 export default defineUI({
   setup() {
     const state = reactive({
-      tabIndex: 7,
-      list: [7],
+      tabIndex: 0,
+      list: [0],
     });
 
     return () => {
@@ -191,8 +191,8 @@ const PanelContent = defineComponent({
   },
   setup(props) {
     const state = reactive({
-      currCompIndex: 1,
-      list: [1],
+      currCompIndex: 0,
+      list: [0],
     });
 
     const SubTabs = () => {