Skip to content

Commit

Permalink
fix: 删除未使用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
skique committed Dec 30, 2024
1 parent bcffbd3 commit 19dc921
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions web/src/management/stores/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,6 @@ export const useEditStore = defineStore('edit', () => {
}
})

const hasSetCurrentEditOne = (value: number) => {
if(!currentEditOne.value) {
setCurrentEditOne(value)
}
}

// 题目操作:增删改
const { copyQuestion, addQuestion, deleteQuestion, moveQuestion } = useQuestionData({
questionDataList,
Expand All @@ -200,7 +194,6 @@ export const useEditStore = defineStore('edit', () => {
currentEditMeta,
newQuestionIndex,
setCurrentEditOne,
hasSetCurrentEditOne,
changeCurrentEditStatus,

pageEditOne,
Expand Down

0 comments on commit 19dc921

Please sign in to comment.