Skip to content

Commit 1212624

Browse files
committed
style: formatter come code 🎨
1 parent 2bb6de6 commit 1212624

File tree

51 files changed

+79
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+79
-51
lines changed

electron/event.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ import fs from 'fs'
22
import path from 'path'
33
import { exec } from 'child_process'
44

5-
import { app, BrowserWindow, dialog, ipcMain, shell } from 'electron'
5+
import {
6+
app,
7+
BrowserWindow,
8+
dialog,
9+
ipcMain,
10+
shell
11+
} from 'electron'
612
import { v4 as uuidV4 } from 'uuid'
713

814
import checkForUpdates from './updater'

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</n-config-provider>
1616
</template>
1717

18-
<script setup lang="ts">
18+
<script lang="ts" setup>
1919
import { computed, onMounted, ref } from 'vue'
2020
import { useRouter } from 'vue-router'
2121

src/components/business/loading-empty-wrapper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</div>
2222
</template>
2323

24-
<script setup lang="ts">
24+
<script lang="ts" setup>
2525
import {
2626
computed,
2727
nextTick,

src/components/business/login-agreement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
</template>
88

9-
<script setup lang="ts">
9+
<script lang="ts" setup>
1010
import { computed } from 'vue'
1111
1212
defineOptions({ name: 'LoginAgreement' })

src/components/common/app-loading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313
</template>
1414

15-
<script setup lang="ts">
15+
<script lang="ts" setup>
1616
import { $t } from '@/locales'
1717
import { getRgbOfColor, localStg } from '@/utils'
1818
import logoImg from '@/assets/images/logo.png'

src/components/common/dark-mode-container.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</div>
66
</template>
77

8-
<script setup lang="ts">
8+
<script lang="ts" setup>
99
defineOptions({ name: 'DarkModeContainer' })
1010
1111
interface Props {

src/components/common/dark-mode-switch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</div>
66
</template>
77

8-
<script setup lang="ts">
8+
<script lang="ts" setup>
99
import { computed } from 'vue'
1010
1111
defineOptions({ name: 'DarkModeSwitch' })

src/components/common/naive-provider.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</n-loading-bar-provider>
1212
</template>
1313

14-
<script setup lang="ts">
14+
<script lang="ts" setup>
1515
import { defineComponent, h } from 'vue'
1616
import {
1717
useDialog,

src/components/custom/better-scroll.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
</template>
88

9-
<script setup lang="ts">
9+
<script lang="ts" setup>
1010
import {
1111
computed,
1212
onMounted,

src/components/custom/svg-icon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</template>
1010
</template>
1111

12-
<script setup lang="ts">
12+
<script lang="ts" setup>
1313
import { computed, useAttrs } from 'vue'
1414
import { Icon } from '@iconify/vue'
1515

0 commit comments

Comments
 (0)