fix: 修复c端页面报错 (#448)

This commit is contained in:
dayou 2024-10-30 17:56:30 +08:00
parent e6645c12a8
commit c5fc734bb1
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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([])