mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
style: lint fix
This commit is contained in:
parent
58e81c4227
commit
51ad1a8244
@ -42,7 +42,7 @@ module.exports = {
|
|||||||
'default-case': 'error',
|
'default-case': 'error',
|
||||||
'consistent-this': ['error', '_this'],
|
'consistent-this': ['error', '_this'],
|
||||||
'max-depth': ['error', 8],
|
'max-depth': ['error', 8],
|
||||||
'max-lines': ['error', 800],
|
'max-lines': ['error', 1000],
|
||||||
'no-multi-str': 'error',
|
'no-multi-str': 'error',
|
||||||
'space-infix-ops': 'error',
|
'space-infix-ops': 'error',
|
||||||
'space-before-blocks': ['error', 'always'],
|
'space-before-blocks': ['error', 'always'],
|
||||||
|
@ -49,13 +49,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed, onMounted, onUnmounted, ref } from 'vue'
|
import { computed, onMounted, onUnmounted, ref, watch, nextTick, onBeforeUnmount } from 'vue'
|
||||||
import Popover from './Popover.vue'
|
import Popover from './Popover.vue'
|
||||||
import Input from './Input.vue'
|
import Input from './Input.vue'
|
||||||
import Divider from './Divider.vue'
|
import Divider from './Divider.vue'
|
||||||
import { watch } from 'vue';
|
|
||||||
import { nextTick } from 'vue';
|
|
||||||
import { onBeforeUnmount } from 'vue';
|
|
||||||
|
|
||||||
interface SelectOption {
|
interface SelectOption {
|
||||||
label: string
|
label: string
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { computed } from 'vue'
|
|
||||||
import { storeToRefs } from 'pinia'
|
import { storeToRefs } from 'pinia'
|
||||||
import { nanoid } from 'nanoid'
|
import { nanoid } from 'nanoid'
|
||||||
import { useSlidesStore, useMainStore } from '@/store'
|
import { useSlidesStore, useMainStore } from '@/store'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as echarts from 'echarts'
|
import type * as echarts from 'echarts'
|
||||||
import type { ChartData, ChartType } from '@/types/slides'
|
import type { ChartData, ChartType } from '@/types/slides'
|
||||||
|
|
||||||
export interface ChartOptionPayload {
|
export interface ChartOptionPayload {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user