提交 2a29fe97 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 优化用户体验,把复制按钮和回复按钮换个位置,避免点回复误点成撤回

上级 eaf23db3
...@@ -74,16 +74,16 @@ ...@@ -74,16 +74,16 @@
}, },
initControlList(msg){ initControlList(msg){
this.controlList = [ this.controlList = [
{
title:'复制',
action:()=>this.copyContent(),
canDisplay: ["userinfo-card","rich-text","text","image"].includes(msg.type) && (msg.type != 'image' || uniIm.systemInfo.uniPlatform === "web"),
},
{ {
title:'回复', title:'回复',
action:()=>this.answer(), action:()=>this.answer(),
canDisplay:msg._id != undefined,// 只有发送成功的消息才能回复 canDisplay:msg._id != undefined,// 只有发送成功的消息才能回复
}, },
{
title:'复制',
action:()=>this.copyContent(),
canDisplay: ["userinfo-card","rich-text","text","image"].includes(msg.type) && (msg.type != 'image' || uniIm.systemInfo.uniPlatform === "web"),
},
{ {
title:'撤回', title:'撤回',
action:()=>this.revokeMsg(), action:()=>this.revokeMsg(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册