Skip to content

Commit 66fad2d

Browse files
committed
🚨 [lint] fix lint error
1 parent c05ed90 commit 66fad2d

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

doc/nuxt.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
export default defineNuxtConfig({
22
devtools: { enabled: true },
33
extensions: ['.md'],
4-
54
modules: [
65
'./modules/markdown',
76
'./modules/fontmin',
87
'@shuimo-design/shuimo-ui-nuxt',
98
'@nuxtjs/i18n',
109
'nuxt-gtag',
1110
],
12-
1311
css: ['./assets/style/index.css'],
14-
1512
i18n: {
1613
strategy: 'prefix_except_default',
1714
defaultLocale: 'zh',
@@ -30,10 +27,8 @@ export default defineNuxtConfig({
3027
},
3128
vueI18n: './i18n/i18n.config.ts',
3229
},
33-
3430
gtag: {
3531
id: 'G-W1HW9D136H',
3632
},
37-
3833
compatibilityDate: '2025-01-13',
39-
});
34+
});

lib/components/base/checkbox/MCheckbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* v2.0.0 阿怪 upgrade to core version
1111
* v2.0.1 阿怪 support dark-mode
1212
*/
13-
import { defineComponent, ref, watch } from 'vue';
13+
import { defineComponent, watch } from 'vue';
1414
import { notEmpty } from '../../../tools';
1515
import { props } from '@shuimo-design/ui-core/components/base/checkbox/api.ts';
1616
import { getNewModelValue, initChecked } from './useCheckbox.ts';
@@ -23,7 +23,7 @@ export default defineComponent((_props: CheckboxProps, { emit, slots }) => {
2323

2424
const {
2525
checkboxClass,
26-
checked
26+
checked,
2727
} = useCheckbox(props, { emit, slots });
2828

2929
watch(() => [props.modelValue, props.checked, props.value], () => {

0 commit comments

Comments
 (0)