File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,9 @@ const handlePublishComment = async () => {
6969 <KunButton variant="light" color="danger" @click =" isShowPanel = false " >
7070 关闭
7171 </KunButton >
72- <KunButton @click =" handlePublishComment " >发布评论</KunButton >
72+ <KunButton :loading =" isPublishing " @click =" handlePublishComment " >
73+ 发布评论
74+ </KunButton >
7375 </div >
7476 </div >
7577</template >
Original file line number Diff line number Diff line change 8585 <TopicDetailTool
8686 v-if =" replyData "
8787 :reply-data =" replyData "
88- :loading =" status === ' pending' "
88+ :pending =" status === ' pending' "
8989 :sort-order =" pageData .sortOrder "
9090 @set-sort-order =" (value ) => (pageData .sortOrder = value ) "
9191 />
Original file line number Diff line number Diff line change @@ -87,11 +87,21 @@ const handleRewrite = async () => {
8787
8888<template >
8989 <div class =" flex justify-end gap-1" >
90- <KunButton size="lg" v-if =" ! isReplyRewriting " @click =" handlePublish " >
90+ <KunButton
91+ size="lg"
92+ :loading =" isPublishing "
93+ v-if =" ! isReplyRewriting "
94+ @click =" handlePublish "
95+ >
9196 确认发布
9297 </KunButton >
9398
94- <KunButton size="lg" v-if =" isReplyRewriting " @click =" handleRewrite " >
99+ <KunButton
100+ size="lg"
101+ :loading =" isPublishing "
102+ v-if =" isReplyRewriting "
103+ @click =" handleRewrite "
104+ >
95105 确定编辑
96106 </KunButton >
97107 </div >
Original file line number Diff line number Diff line change 11{
22 "name" : " kun-galgame-nuxt3" ,
3- "version" : " 3.4.48 " ,
3+ "version" : " 3.4.49 " ,
44 "packageManager" : " pnpm@10.4.1" ,
55 "private" : true ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments