import type { ButtonConfig } from '../../index.type'; /** * 定位按钮配置 */ export const settingButton: ButtonConfig = { id: 'setting', groupId: 'group-2', type: 'button', label: '设置', icon: '', keepActive: false, onClick: (button) => { console.log('设置按钮被点击:', button.id); } };