123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*
- * @Descripttion:
- * @Author: liu.shiyi
- * @Date: 2022-10-13 11:18:03
- * @LastEditTime: 2022-10-13 13:55:11
- */
- import { commonConfig, displayOption } from 'packages/js/config'
- export const settingConfig = {
- theme: 'dark',
- text: '文本标签占位符', // text内容
- // 设置面板属性的显隐
- displayOption: {
- ...displayOption,
- metricField: {
- // 指标
- label: '指标',
- enable: true,
- multiple: false // 是否多选
- },
- dimensionField: {
- // 维度
- label: '维度', // 维度/查询字段
- enable: false,
- multiple: true // 是否多选
- }
- }
- }
- const customConfig = {
- type: 'texts',
- root: {
- version: '2023071001',
- url: 'https://www.runoob.com/'
- },
- customize: {
- title: '文本标签占位符',
- fontSize: 20,
- fontWeight: 700,
- color: 'left,#ffffff,#ffffff'
- }
- }
- export const dataConfig = {
- ...commonConfig(customConfig)
- }
|