Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复显示逻辑列表不能滚动以及c端渲染页报错 #448

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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