From 04c7b0163caeae4ab1c5da62e301fa993101cfad Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 31 三月 2025 10:40:45 +0800 Subject: [PATCH] bug修改 --- packageBookService/pages/bookServices/detail/components/note/note.js | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/note/note.js b/packageBookService/pages/bookServices/detail/components/note/note.js index 8a94230..5daf2d0 100644 --- a/packageBookService/pages/bookServices/detail/components/note/note.js +++ b/packageBookService/pages/bookServices/detail/components/note/note.js @@ -18,8 +18,7 @@ * 缁勪欢鐨勫垵濮嬫暟鎹� */ data: { - inputStyle: - "border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx; padding:16rpx", + inputStyle: "border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx; padding:16rpx", placeholderstyle: "font-size:28rpx", flag: false, // 杈撳叆妗嗘槸鍚︽樉绀� submitType: "new", // 鏂板缓 or 缂栬緫 @@ -68,10 +67,11 @@ }, openDialog() { loginInfo(app, (data) => {}) - this.setData({ - submitTitle: this.properties.bookInfo.name, - showNoteDialog: true, - }); + if (data) + this.setData({ + submitTitle: this.properties.bookInfo.name, + showNoteDialog: true, + }); }, closeDialog() { this.setData({ @@ -346,4 +346,4 @@ }); }, }, -}); +}); \ No newline at end of file -- Gitblit v1.9.1