From 2aab00f91bd4cda4715f1a141f4d26a3667a91b6 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 12 四月 2024 12:01:20 +0800
Subject: [PATCH] 视频详情bug

---
 packageDomain/pages/resourceDetails/myVideo/index.js |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/packageDomain/pages/resourceDetails/myVideo/index.js b/packageDomain/pages/resourceDetails/myVideo/index.js
index 695ebd3..c972ff8 100644
--- a/packageDomain/pages/resourceDetails/myVideo/index.js
+++ b/packageDomain/pages/resourceDetails/myVideo/index.js
@@ -10,7 +10,7 @@
     noteList: [],
     navBarHeight: '',
     barHeight: '',
-    flag: false, // 杈撳叆妗嗘槸鍚︽樉绀�
+    flag: true, // 杈撳叆妗嗘槸鍚︽樉绀�
     tabPanelstyle: 'display:flex;justify-content:center;align-items:center;',
     activeValues: [0],
     dialogKey: false,
@@ -179,10 +179,10 @@
   showDialog(e) {
 
     this.setData({
-      submitTitle: this.data.bookName,
-      dialogKey: true,
-      textvalue: ''
 
+      dialogKey: true,
+      textvalue: '',
+      submitTitle: this.data.titleName
 
     });
   },
@@ -337,7 +337,7 @@
   // 鏍囬杈撳叆妗嗗��
   inputChange(e) {
     this.setData({
-      titleName: e.detail.value
+      submitTitle: e.detail.value
     })
   },
 
@@ -347,7 +347,7 @@
         icon: 'error',
         title: '璇峰~鍐欑瑪璁板唴瀹�',
       })
-    } else if (!this.data.titleName) {
+    } else if (!this.data.submitTitle) {
       return wx.showToast({
         icon: 'error',
         title: '璇峰~鍐欑瑪璁版爣棰�',
@@ -430,11 +430,9 @@
       submitType: "edit",
       textvalue: note.content,
       submitTitle: note.name,
-
       noteId: note.id,
       dialogKey: true,
     })
-    console.log(this.data.submitTitle);
     // this.showDialog()
   },
 
@@ -519,7 +517,7 @@
       return wx.getUserProfile({
         desc: '鐢ㄦ埛鐧诲綍',
         success: (res) => {
-          // console.log(res);
+          console.log(res);
         }
       })
     }

--
Gitblit v1.9.1