Browse Source

去除默认歌词/封面的api设置

onecold 1 năm trước cách đây
mục cha
commit
ec322fe6bf
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      entry/src/main/ets/pages/SettingPage.ets

+ 2 - 2
entry/src/main/ets/pages/SettingPage.ets

@@ -13,7 +13,7 @@ import { CustomContentDialog } from '@kit.ArkUI'
 export struct SettingPage {
   @State showApiDialog: boolean = false
   @State tempApiUrl: string = ''
-  @State lyricApiUrl: string = PreferencesUtil.getStringSync('LRC_API', 'https://lrc.ss5.xyz/jsonapi')
+  @State lyricApiUrl: string = PreferencesUtil.getStringSync('LRC_API', '')
   @State isBgPlayOpen: boolean = true //是否启用后台播放
   @State isAutoRatate: boolean = true //是否启用自动横竖屏
   @State isMemoryPlay: boolean = true //是否启用记忆播放
@@ -23,7 +23,7 @@ export struct SettingPage {
   @State sortType: number = 4 //默认排序方式
   @State showCoverApiDialog: boolean = false
   @State tempCoverApiUrl: string = ''
-  @State coverApiUrl: string = PreferencesUtil.getStringSync('COVER_API', 'https://lrc.ss5.xyz/cover')
+  @State coverApiUrl: string = PreferencesUtil.getStringSync('COVER_API', '')
   @State apiDialogType: 'lyric' | 'cover' = 'lyric'
 
   static readonly SORT_TYPE: string = 'musicSortType';