| 1234567891011121314151617181920 |
- export type LabelType = 'scene' | 'label' | 'workspace';
- export const templateTips = [
- {
- tab: 'scene',
- tip: '决定了平台主页的页面布局、功能模块、监测数据类型,系统已进行初始化配置,请勿修改、删除。',
- },
- {
- tab: 'label',
- tip: '用于关联公司场景与模板之间的关系,实现模板的实例化。为系统底层能力,请勿修改、删除。',
- },
- {
- tab: 'workspace',
- tip: '决定了每个车间的页面布局、功能模块、监测数据类型,系统已进行初始化配置,请勿修改、删除。',
- },
- ];
- export const getTipByTab = (tab: LabelType) =>
- templateTips.find((item) => item.tab === tab)?.tip || '';
|