Procházet zdrojové kódy

注释掉提示加载几个文件夹

onecold před 9 měsíci
rodič
revize
732027b632

+ 9 - 0
entry/src/main/ets/pages/UserCenter.ets

@@ -43,6 +43,8 @@ async function isHasWX(): Promise<boolean> {
   }
 }
 
+
+
 async function createWeChatOrder(app_id: string, mch_id: string, description: string, amount: number,
   out_trade_no_pre: string, uid: number, plan_id: string): Promise<string> {
   let requestUrl = CommonConstants.WX_PAY_API
@@ -164,6 +166,13 @@ export struct UserCenter {
       isVipOnly: true,
       hasCome: true
     },
+    {
+      icon: $r('app.media.music_red'),
+      title: '提取伴奏',
+      description: '长按音乐可提取伴奏',
+      isVipOnly: true,
+      hasCome: true
+    },
     {
       icon: $r('app.media.skip'),
       title: '跳过头尾',

+ 3 - 3
entry/src/main/ets/pages/WebDavMainPage.ets

@@ -192,9 +192,9 @@ export struct WebDavMainPage {
         // 更新可见文件夹列表
         this.updateVisibleFolders();
 
-        promptAction.showToast({
-          message: '加载成功: ' + this.webDavFiles.filter(f => f.isDirectory).length + '个文件夹, ' + this.songs.length + '首歌曲'
-        });
+        // promptAction.showToast({
+        //   message: '加载成功: ' + this.webDavFiles.filter(f => f.isDirectory).length + '个文件夹, ' + this.songs.length + '首歌曲'
+        // });
         break;
       case WebdavManagerStates.LoadFilesInfoFailed:
         this.isLoading = false;