rindy 8 months ago
parent
commit
df458245b1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/topicNavigation/index.vue

+ 3 - 2
src/views/topicNavigation/index.vue

@@ -37,6 +37,7 @@
                     <n-input-group>
                       <n-input
                         v-model:value="nav.title"
+                        maxlength="15"
                         style="max-width: 130px"
                       />
 
@@ -92,7 +93,7 @@
                     :key="index"
                   >
                     <n-flex justify="space-between">
-                      {{ pano }}
+                      {{ pano.index }}
                       <n-icon
                         :size="20"
                         @click="handlePanoDel(index)"
@@ -148,7 +149,7 @@ const naviData = computed(() => main.getEditorData.navigation)
 const dataList = ref<
   {
     title: string
-    panos: string[]
+    panos: any[]
   }[]
 >([])