onecold 9 сар өмнө
parent
commit
d20e6513d5

+ 2 - 2
entry/src/main/ets/common/util/NetAxiosUtil.ets

@@ -33,8 +33,8 @@ class NetAxiosUtil{
       const httpRequest = http.createHttp();
       const options: http.HttpRequestOptions = {
         method: http.RequestMethod.GET,
-        readTimeout: 3000,
-        connectTimeout: 3000,
+        readTimeout: 5000,
+        connectTimeout: 5000,
       };
 
       const response: http.HttpResponse = await httpRequest.request(requestUrl, options);

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

@@ -1099,7 +1099,7 @@ export struct WebDavMainPage {
             .clickEffect({ level: ClickEffectLevel.MIDDLE })
           }, (item: VideoItem) =>  item.filePath + '_' + this.listRefreshKey)
         }
-
+        .scrollBar(BarState.Off)
         .contentStartOffset(this.topSafeHeight + 80)
         .contentEndOffset(this.bottomSafeHeight)
         .layoutWeight(1)

+ 4 - 4
entry/src/main/ets/view/LocalMusic.ets

@@ -1563,10 +1563,10 @@ export struct LocalMusic {
         this.currentSong.COMMENT = this.commentStr;
       }
 
-      if (result.needRefreshList && this.modeType == 0) {
-        this.deleteCache(this.currentPath);
-        this.getSortedFiles(this.currentPath);
-      }
+      // if (result.needRefreshList && this.modeType == 0) {
+      //   this.deleteCache(this.currentPath);
+      //   this.getSortedFiles(this.currentPath);
+      // }
 
       // 同步编辑字段到本地列表
       if (this.editingItem) {

+ 2 - 1
entry/src/main/ets/workers/Worker.ets

@@ -429,7 +429,8 @@ async function handleEditMusic(payload: EditMusicRequestPayload): Promise<void>
     const packName = payload.packName;
     const modeType = payload.modeType;
     const autoParseMusicName = payload.autoParseMusicName;
-
+    console.info('heanup titleStr =' + titleStr);
+    console.info('heanup item =' + JSON.stringify( item));
     if (!item || StrUtil.isEmpty(titleStr)) {
       workerPort.postMessage({
         code: 106,