Skip to content

Commit

Permalink
fix: 修复c端页面报错 (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
skique committed Oct 30, 2024
1 parent e6645c1 commit c5fc734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions web/src/management/pages/edit/pages/edit/LogicIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion web/src/render/stores/question.js
Original file line number Diff line number Diff line change
Expand Up @@ -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([])

Expand Down

0 comments on commit c5fc734

Please sign in to comment.