diff --git a/web/src/management/pages/edit/pages/edit/LogicIndex.vue b/web/src/management/pages/edit/pages/edit/LogicIndex.vue index 4241506f..b9967eb2 100644 --- a/web/src/management/pages/edit/pages/edit/LogicIndex.vue +++ b/web/src/management/pages/edit/pages/edit/LogicIndex.vue @@ -73,6 +73,7 @@ const handleChange = (name: any) => { :deep(.el-tabs__content) { height: calc(100% - 10px); padding-bottom: 10px; + overflow-y: auto; :deep(el-tab-pane) { height: 100%; overflow: auto; diff --git a/web/src/render/stores/question.js b/web/src/render/stores/question.js index 8e8e9fbf..5e9f750c 100644 --- a/web/src/render/stores/question.js +++ b/web/src/render/stores/question.js @@ -103,7 +103,7 @@ export const useQuestionStore = defineStore('question', () => { const pageIndex = ref(1) // 当前分页的索引 const changeField = ref(null) const changeIndex = computed(() => { - return questionData.value[changeField.value].index + return questionData.value[changeField.value]?.index }) const needHideFields = ref([])