💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` { field: 'buttons', width: "120px", title: __('回复'), table: table, events: Table.api.events.operate, buttons: [{ name: 'detail', text: __('回复'), title: __('回复'), classname: 'btn btn-xs btn-success btn-dialog', icon: "fa fa-check-square-o", url: 'party/voice/answer', callback: function (data) { Layer.alert("接收到回传数据:" + JSON.stringify(data), { title: "回传数据" }); }, visible: function (row) { //重点在这 //返回true时按钮显示,返回false隐藏 if (row.reply_content) { return false; } return true; } }, ], formatter: Table.api.formatter.buttons }, ```