Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skique committed Sep 18, 2024
1 parent 46aeeb6 commit 3158c54
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { computed, defineComponent, shallowRef, defineAsyncComponent, watch } from 'vue'
import { computed, defineComponent, shallowRef, defineAsyncComponent } from 'vue'
import { includes } from 'lodash-es'

import BaseChoice from '../BaseChoice'
Expand Down
2 changes: 1 addition & 1 deletion web/src/materials/questions/widgets/RadioModule/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent, shallowRef, watch, defineAsyncComponent } from 'vue'
import { defineComponent, shallowRef, defineAsyncComponent } from 'vue'
import BaseChoice from '../BaseChoice'

/**
Expand Down
1 change: 0 additions & 1 deletion web/src/render/pages/RenderPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import encrypt from '../utils/encrypt'
import useCommandComponent from '../hooks/useCommandComponent'
import { getPublishedSurveyInfo, getPreviewSchema } from '../api/survey'
import { useQuestionInfo } from '../hooks/useQuestionInfo'
import { FORMDATA_SUFFIX, SUBMIT_FLAG } from '@/render/utils/constant'
interface Props {
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 @@ -5,7 +5,7 @@ import { useSurveyStore } from '@/render/stores/survey'
import { queryVote } from '@/render/api/survey'
import { QUESTION_TYPE, NORMAL_CHOICES } from '@/common/typeEnum'

Check failure on line 6 in web/src/render/stores/question.js

View workflow job for this annotation

GitHub Actions / Lint

'NORMAL_CHOICES' is defined but never used
import { parseJson } from '@/render/utils/index'
import { VOTE_INFO_KEY, QUOTA_INFO_KEY } from '@/render/utils/constant'
import { VOTE_INFO_KEY } from '@/render/utils/constant'


// 投票进度逻辑聚合
Expand Down

0 comments on commit 3158c54

Please sign in to comment.