diff --git a/src/views/paper/question/SettingForm.vue b/src/views/paper/question/SettingForm.vue index 1199633..5ef07f9 100644 --- a/src/views/paper/question/SettingForm.vue +++ b/src/views/paper/question/SettingForm.vue @@ -141,8 +141,12 @@ @selection-change="handleSelectionChange" > - - + + + + @@ -220,7 +229,7 @@ import * as QuestionApi from '@/api/paper/question' import FileForm from './components/FileForm.vue' import Setting from '@/components/Setting/index.vue' import * as SpecialtyApi from '@/api/points' -import { handleTree } from '@/utils/tree' +import { handleTree } from '@/utils/tree' import { useSettingStore } from '@/store/modules/settings' const settingStore = useSettingStore() // import { emitter } from '@/utils/eventBus' @@ -231,7 +240,7 @@ defineOptions({ name: 'WpsWordFrom' }) // emitter.on('maskDisplay', handleFromC) // }) const list = ref([]) // 列表的数 -const handleFrom = () => { +const handleFrom = () => { list.value = [...settingStore.settingsFormList] // settingStore.clearSettingData() } @@ -288,7 +297,6 @@ const formData = ref({ ] }) - const documentList = ref([ { quId: '', @@ -468,7 +476,6 @@ const submitForm = async () => { /** 重置表单 */ const resetForm = () => { - documentList.value = [ { quId: '', @@ -540,7 +547,6 @@ const openPoints = async () => { await getTree() dialogVisiblePoints.value = true } -