import { WeaLocaleProvider } from 'ecCom'; const getLabel = WeaLocaleProvider.getLabel; export const getRightMenus=(isAdd)=>{ let rightMenus = [{ key: 'save', content: getLabel(86, '保存', 'label'), icon: }]; if(!isAdd){ rightMenus=[...rightMenus, { key: 'delete', content: getLabel(91, '删除', 'label'), icon: }, { key: 'addNewRemind', content: getLabel(33416, '新建提醒', 'label'), icon: }]; } return rightMenus; } export const tabs = [{ name: getLabel(81711, '基本信息'), key: '1' }, { name: getLabel(20620, '任务看板'), key: '2' }, { name: getLabel(15153,"相关交流"), key: '3' },{ name: getLabel(20620, '日报'), key: '4' }, { name:getLabel(320, '任务列表'), key: '6' }, { name:getLabel(352, '统计'), key: '7' }];